Skip to content

Commit

Permalink
cmake.yml: Test cmake builds using gcc
Browse files Browse the repository at this point in the history
cmake configure step was wrongly hard-coded to clang which prevented
testing the gcc based builds
  • Loading branch information
harishdm committed Oct 2, 2023
1 parent 4af6a8b commit 0f86a52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- uses: actions/checkout@v3

- name: Configure CMake
run: cmake -B ${{github.workspace}}/out -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
run: cmake -B ${{github.workspace}}/out -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}

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

0 comments on commit 0f86a52

Please sign in to comment.