Skip to content

Commit

Permalink
Update cmake-compile.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Loudbooks authored Oct 1, 2024
1 parent 645e97c commit dcbf2ff
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/cmake-compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,16 @@ jobs:
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}

- name: Build
- name: Configure CMake (Linux)
if: matrix.os == 'ubuntu-latest'
run: |
cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
export CC=clang
export CXX=clang++
cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Configure CMake (Windows)
if: matrix.os == 'windows-latest'
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}

- name: Upload Artifact (Windows)
if: matrix.os == 'windows-latest'
Expand Down

0 comments on commit dcbf2ff

Please sign in to comment.