@@ -302,7 +302,7 @@ jobs:
302
302
./emsdk install ${{ matrix.emsdk_ver }}
303
303
304
304
- name : Setup default Build Type on *nux
305
- if : ${{ runner.os != 'windows' && steps.cachenotemscripten.outputs.cache-hit != 'true' }}
305
+ if : ${{ runner.os != 'windows' && steps.cachenotemscripten.outputs.cache-hit != 'true' && matrix.emscripten != 'On' }}
306
306
run : |
307
307
echo "BUILD_TYPE=Release" >> $GITHUB_ENV
308
308
echo "CODE_COVERAGE=0" >> $GITHUB_ENV
@@ -314,7 +314,7 @@ jobs:
314
314
fi
315
315
316
316
- name : Setup default Build Type on *nux
317
- if : ${{ runner.os != 'windows' && steps.cacheemscripten.outputs.cache-hit != 'true' }}
317
+ if : ${{ runner.os != 'windows' && steps.cacheemscripten.outputs.cache-hit != 'true' && matrix.emscripten != 'On' }}
318
318
run : |
319
319
echo "BUILD_TYPE=Release" >> $GITHUB_ENV
320
320
echo "CODE_COVERAGE=0" >> $GITHUB_ENV
@@ -334,7 +334,7 @@ jobs:
334
334
echo "ncpus=$env:ncpus" >> $env:GITHUB_ENV
335
335
336
336
- name : Setup compiler on Linux
337
- if : ${{ runner.os == 'Linux' && steps.cachenotemscripten.outputs.cache-hit != 'true' }}
337
+ if : ${{ runner.os == 'Linux' && steps.cachenotemscripten.outputs.cache-hit != 'true' && matrix.emscripten != 'On' }}
338
338
run : |
339
339
# https://www.gnu.org/software/bash/manual/html_node/Shell-Parameter-Expansion.html
340
340
vers="${compiler#*-}"
@@ -358,7 +358,7 @@ jobs:
358
358
compiler : ${{ matrix.compiler }}
359
359
360
360
- name : Setup compiler on Linux
361
- if : ${{ runner.os == 'Linux' && steps.cacheemscripten.outputs.cache-hit != 'true' }}
361
+ if : ${{ runner.os == 'Linux' && steps.cacheemscripten.outputs.cache-hit != 'true' && matrix.emscripten != 'On' }}
362
362
run : |
363
363
# https://www.gnu.org/software/bash/manual/html_node/Shell-Parameter-Expansion.html
364
364
vers="${compiler#*-}"
@@ -382,7 +382,7 @@ jobs:
382
382
compiler : ${{ matrix.compiler }}
383
383
384
384
- name : Setup compiler on macOS
385
- if : ${{ runner.os == 'macOS' && steps.cachenotemscripten.outputs.cache-hit != 'true' }}
385
+ if : ${{ runner.os == 'macOS' && steps.cachenotemscripten.outputs.cache-hit != 'true' && matrix.emscripten != 'On' }}
386
386
run : |
387
387
vers="${compiler#*-}"
388
388
if [[ "${{ matrix.compiler }}" == *"gcc"* ]]; then
@@ -419,7 +419,7 @@ jobs:
419
419
compiler : ${{ matrix.compiler }}
420
420
421
421
- name : Setup compiler on macOS
422
- if : ${{ runner.os == 'macOS' && steps.cacheemscripten.outputs.cache-hit != 'true' }}
422
+ if : ${{ runner.os == 'macOS' && steps.cacheemscripten.outputs.cache-hit != 'true' && matrix.emscripten == 'On' }}
423
423
run : |
424
424
vers="${compiler#*-}"
425
425
if [[ "${{ matrix.compiler }}" == *"gcc"* ]]; then
@@ -487,7 +487,7 @@ jobs:
487
487
$env:PATH="C:\Program Files (x86)\GnuWin32\bin;$env:PATH"
488
488
489
489
- name : Install deps on Linux
490
- if : ${{ runner.os == 'Linux' && steps.cachenotemscripten.outputs.cache-hit != 'true' }}
490
+ if : ${{ runner.os == 'Linux' && steps.cachenotemscripten.outputs.cache-hit != 'true' && matrix.emscripten != 'On' }}
491
491
run : |
492
492
# Install deps
493
493
sudo apt-get update
@@ -496,7 +496,7 @@ jobs:
496
496
sudo apt-get clean
497
497
498
498
- name : Install deps on MacOS
499
- if : ${{ runner.os == 'macOS' && steps.cachenotemscripten.outputs.cache-hit != 'true' }}
499
+ if : ${{ runner.os == 'macOS' && steps.cachenotemscripten.outputs.cache-hit != 'true' && matrix.emscripten != 'On' }}
500
500
run : |
501
501
brew update
502
502
export ARCHITECHURE=$(uname -m)
@@ -514,7 +514,7 @@ jobs:
514
514
brew upgrade
515
515
516
516
- name : Install deps on Linux
517
- if : ${{ runner.os == 'Linux' && steps.cacheemscripten.outputs.cache-hit != 'true' }}
517
+ if : ${{ runner.os == 'Linux' && steps.cacheemscripten.outputs.cache-hit != 'true' && matrix.emscripten == 'On' }}
518
518
run : |
519
519
# Install deps
520
520
sudo apt-get update
@@ -523,7 +523,7 @@ jobs:
523
523
sudo apt-get clean
524
524
525
525
- name : Install deps on MacOS
526
- if : ${{ runner.os == 'macOS' && steps.cacheemscripten.outputs.cache-hit != 'true' }}
526
+ if : ${{ runner.os == 'macOS' && steps.cacheemscripten.outputs.cache-hit != 'true' && matrix.emscripten == 'On' }}
527
527
run : |
528
528
brew update
529
529
export ARCHITECHURE=$(uname -m)
0 commit comments