Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

Commit

Permalink
Hopefully fixed CI with proper matrix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusRannare committed Feb 15, 2021
1 parent fac9827 commit 4157f0b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,13 @@ jobs:
cmake --build . --config ${{ matrix.build-config || 'Release' }}
- name: Run test cases
if: ${{matrix.action}} == 'run-tests'
if: matrix.action == 'run-tests'
run: |
cd ${{ matrix.build-dir || '.' }}
ctest -C ${{ matrix.build-config || 'Release' }} --output-on-failure
- name: Compile C examples
if: runner.os == 'Linux' || runner.os == 'macOS' && ${{matrix.action}} == 'compile-examples'
if: ( runner.os == 'Linux' || runner.os == 'macOS' ) && matrix.action == 'compile-examples'
run: |
cd examples/code-samples/c
cmake .
Expand All @@ -136,7 +136,7 @@ jobs:
LDFLAGS: ${{ matrix.ldflags || env.LDFLAGS }}

- name: Compile C++ examples
if: runner.os == 'Linux' || runner.os == 'macOS' && ${{matrix.action}} == 'compile-examples'
if: ( runner.os == 'Linux' || runner.os == 'macOS' ) && matrix.action == 'compile-examples'
run: |
cd examples/code-samples/cpp
cmake .
Expand Down

0 comments on commit 4157f0b

Please sign in to comment.