-
Notifications
You must be signed in to change notification settings - Fork 624
52 lines (41 loc) · 966 Bytes
/
osx.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: github-osx
on:
push:
paths:
- .github/**
- Build/**
- Source/**
pull_request:
paths:
- .github/**
- Build/**
- Source/**
concurrency:
group: ${{ github.event_name }}-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
permissions:
contents: read
jobs:
osx-gnu-openmpi:
# debug build on osx using gfortran with openmpi
name: osx gnu openmpi
runs-on: [macos-latest]
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v4
- name: install openmpi
run: |
brew install open-mpi
echo "OMPI_FC=gfortran-11" >> $GITHUB_ENV
- name: build fds debug
run: |
cd ./Build/ompi_gnu_osx_db
sh ./make_fds.sh
./fds_ompi_gnu_osx_db
- name: build fds release
run: |
cd ./Build/ompi_gnu_osx
sh ./make_fds.sh
./fds_ompi_gnu_osx