Skip to content

Commit 7644cfa

Browse files
alexander-penevvgvassilev
authored andcommitted
Fix cppyy if expressions
1 parent 1e8a76a commit 7644cfa

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ jobs:
212212
echo "LLVM_BUILD_DIR=$LLVM_BUILD_DIR" >> $GITHUB_ENV
213213
echo "CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH" >> $GITHUB_ENV
214214
- name: Build and Install cppyy-backend on Linux
215-
if: runner.os == 'Linux' && ${{ matrix.cppyy }} == 'On'
215+
if: ${{ (runner.os == 'Linux') && (matrix.cppyy == 'On') }}
216216
run: |
217217
# Download cppyy-backend
218218
git clone https://github.com/compiler-research/cppyy-backend.git
@@ -231,7 +231,7 @@ jobs:
231231
#
232232
cd ..
233233
- name: Install CPyCppyy on Linux
234-
if: runner.os == 'Linux' && ${{ matrix.cppyy }} == 'On'
234+
if: ${{ (runner.os == 'Linux') && (matrix.cppyy == 'On') }}
235235
run: |
236236
# Setup virtual environment
237237
python3 -m venv .venv
@@ -248,7 +248,7 @@ jobs:
248248
# We need CPYCPPYY_DIR later
249249
echo "CPYCPPYY_DIR=$CPYCPPYY_DIR" >> $GITHUB_ENV
250250
- name: Install cppyy on Linux
251-
if: runner.os == 'Linux' && ${{ matrix.cppyy }} == 'On'
251+
if: ${{ (runner.os == 'Linux') && (matrix.cppyy == 'On') }}
252252
run: |
253253
# source virtual environment
254254
source .venv/bin/activate
@@ -258,7 +258,7 @@ jobs:
258258
python -m pip install --upgrade . --no-deps
259259
cd ..
260260
- name: Run cppyy on Linux
261-
if: runner.os == 'Linux' && ${{ matrix.cppyy }} == 'On'
261+
if: ${{ (runner.os == 'Linux') && (matrix.cppyy == 'On') }}
262262
run: |
263263
# Run cppyy
264264
source .venv/bin/activate
@@ -268,7 +268,7 @@ jobs:
268268
echo "PYTHONPATH=$PYTHONPATH" >> $GITHUB_ENV
269269
- name: Run the tests on Linux
270270
continue-on-error: true
271-
if: runner.os == 'Linux' && ${{ matrix.cppyy }} == 'On'
271+
if: ${{ (runner.os == 'Linux') && (matrix.cppyy == 'On') }}
272272
run: |
273273
# Run the tests
274274
source .venv/bin/activate

0 commit comments

Comments
 (0)