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 ab0f62f commit ad7ac2f
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ on:
branches: [ "main" ]

jobs:
build:

LinuxBuild:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Install dependencies
Expand All @@ -20,3 +18,15 @@ jobs:
run: |
mkdir build && cd build
cmake .. && make -j 4
MacosBuild:
runs-on: macos-latest
step:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
brew install gcc cmake open-mpi hdf5
- name: make
run: |
mkdir build && cd build
cmake .. && make -j 4

0 comments on commit ad7ac2f

Please sign in to comment.