Skip to content

Commit

Permalink
Update cmake.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ss-o authored Dec 31, 2021
1 parent aaadcf4 commit 3aea5fd
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CMake
name: 🛠 CMake

on:
push:
Expand All @@ -13,15 +13,11 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v2
- name: 🏗 Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: ⚙️ Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}

- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}

- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}

- name: Test
working-directory: ${{github.workspace}}/build
run: ctest -C ${{env.BUILD_TYPE}}


0 comments on commit 3aea5fd

Please sign in to comment.