Skip to content

Commit e4390eb

Browse files
authored
Update ci.yml
1 parent 3ae2238 commit e4390eb

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
@@ -306,7 +306,7 @@ jobs:
306306
fi
307307
308308
- name: Setup default Build Type on *nux
309-
if: ${{ runner.os != 'windows' && steps.cacheemscripten.outputs.cache-hit != 'true' && matrix.emscripten != 'On' }}
309+
if: ${{ runner.os != 'windows' && steps.cacheemscripten.outputs.cache-hit != 'true' && matrix.emscripten == 'On' }}
310310
run: |
311311
echo "BUILD_TYPE=Release" >> $GITHUB_ENV
312312
echo "CODE_COVERAGE=0" >> $GITHUB_ENV
@@ -350,7 +350,7 @@ jobs:
350350
compiler: ${{ matrix.compiler }}
351351

352352
- name: Setup compiler on Linux
353-
if: ${{ runner.os == 'Linux' && steps.cacheemscripten.outputs.cache-hit != 'true' && matrix.emscripten != 'On' }}
353+
if: ${{ runner.os == 'Linux' && steps.cacheemscripten.outputs.cache-hit != 'true' && matrix.emscripten == 'On' }}
354354
run: |
355355
# https://www.gnu.org/software/bash/manual/html_node/Shell-Parameter-Expansion.html
356356
vers="${compiler#*-}"
@@ -767,7 +767,7 @@ jobs:
767767

768768
- name: Save Cache LLVM/Clang runtime build directory (Unix Systems Emscripten)
769769
uses: actions/cache/save@v4
770-
if: ${{ runner.os != 'windows' && steps.cacheemscripten.outputs.cache-hitt != 'true' && matrix.emscripten == 'On' }}
770+
if: ${{ runner.os != 'windows' && steps.cacheemscripten.outputs.cache-hit != 'true' && matrix.emscripten == 'On' }}
771771
with:
772772
path: |
773773
llvm-project
@@ -1547,7 +1547,7 @@ jobs:
15471547
-DCling_DIR=$LLVM_BUILD_DIR/tools/cling \
15481548
-DLLVM_DIR=$LLVM_BUILD_DIR/lib/cmake/llvm \
15491549
-DClang_DIR=$LLVM_BUILD_DIR/lib/cmake/clang \
1550-
-DBUILD_SHARED_LIBS=OFF \
1550+
-DBUILD_SHARED_LIBS=ON \
15511551
-DCODE_COVERAGE=${{ env.CODE_COVERAGE }} \
15521552
-DCMAKE_INSTALL_PREFIX=$PREFIX \
15531553
-DCMAKE_FIND_ROOT_PATH_MODE_PACKAGE=ON \
@@ -1561,7 +1561,7 @@ jobs:
15611561
-DCMAKE_PREFIX_PATH=$PREFIX \
15621562
-DLLVM_DIR=$LLVM_BUILD_DIR/lib/cmake/llvm \
15631563
-DClang_DIR=$LLVM_BUILD_DIR/lib/cmake/clang \
1564-
-DBUILD_SHARED_LIBS=OFF \
1564+
-DBUILD_SHARED_LIBS=ON \
15651565
-DCODE_COVERAGE=${{ env.CODE_COVERAGE }} \
15661566
-DCMAKE_INSTALL_PREFIX=$PREFIX \
15671567
-DCMAKE_FIND_ROOT_PATH_MODE_PACKAGE=ON \

0 commit comments

Comments
 (0)