Skip to content

Commit

Permalink
Merge pull request google#8 from ittiam-systems/actions
Browse files Browse the repository at this point in the history
cmake.yml: Test cmake builds using gcc
  • Loading branch information
DichenZhang1 authored Oct 2, 2023
2 parents f3bbe62 + 99b9f16 commit 6a08111
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ 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++
env:
CC: ${{ matrix.cc }}
CXX: ${{ matrix.cxx }}
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 6a08111

Please sign in to comment.