Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ling0322 committed Jun 23, 2024
1 parent 1ac3ae3 commit e038a25
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/cmake-darwin.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: macOS


on:
push:
branches: [ "main" ]
Expand All @@ -13,8 +14,13 @@ jobs:
build:
runs-on: macos-14
steps:
- name: Install Go
uses: actions/[email protected]
with:
go-version: '>=1.17.0'
- run: go version
- uses: actions/checkout@v3
- name: Install openmp
- name: Install OpenMP
run: brew install libomp
- name: Configure CMake
run: OpenMP_ROOT=$(brew --prefix)/opt/libomp cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/cmake-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ jobs:
build:
runs-on: windows-latest
steps:
- name: Install Go
uses: actions/[email protected]
with:
go-version: '>=1.17.0'
- run: go version
- uses: actions/checkout@v3
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
Expand Down

0 comments on commit e038a25

Please sign in to comment.