Skip to content

Commit 4e99dad

Browse files
committed
Update CI workflow to conditionally run steps
Added conditional execution for environment setup and CMake configuration steps based on the presence of matrix.cc.
1 parent 0c3fc51 commit 4e99dad

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ jobs:
4141
env:
4242
CC: ${{ matrix.cc }}
4343
CXX: ${{ matrix.cxx }}
44+
if: ${{ matrix.cc }}
45+
46+
- name: Configure CMake
47+
run: cmake --preset=test
48+
if: ${{ !matrix.cc }}
4449

4550
- name: Build
4651
run: cmake --build --preset=test

0 commit comments

Comments
 (0)