diff --git a/.github/workflows/cmake-compile.yml b/.github/workflows/cmake-compile.yml index f291042..c940dde 100644 --- a/.github/workflows/cmake-compile.yml +++ b/.github/workflows/cmake-compile.yml @@ -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'