Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
xumi1993 committed May 16, 2024
1 parent b3ba916 commit ef811fb
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches: [ "main" ]

jobs:
LinuxBuild:
LinuxTest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -19,14 +19,9 @@ jobs:
mkdir build && cd build
cmake .. && make -j 4
MacosBuild:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
- name: test
run: |
brew install gcc@13 cmake open-mpi hdf5
- name: make
run: |
mkdir build && cd build
CXX=gcc-13 FC=gfortran-13 cmake .. && make -j 4
cd $GITHUB_WORKSPACE/examples/00_checkerboard_iso
sed -i "/NPROC=/c\NPROC=4" run_this_example.sh
sh run_this_example.sh

0 comments on commit ef811fb

Please sign in to comment.