Skip to content

Commit

Permalink
workflows bugfix ternary operator for bash
Browse files Browse the repository at this point in the history
  • Loading branch information
silverqx committed Aug 21, 2024
1 parent 4dc3a70 commit af46810
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/msys2-ucrt64-drivers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,8 @@ jobs:
shell: msys2 {0}
working-directory: ${{ env.TinyORMPath }}
run: >-
tinyLinkerType=$([[ '${{ matrix.compiler.key }}' == 'clang' ]] && echo 'LLD' || echo 'BFD')
cmake.exe --log-level=DEBUG --log-context
-S .
-B "$TinyORMBuildTreeCyg"
Expand All @@ -271,8 +273,7 @@ jobs:
-D CMAKE_EXPORT_PACKAGE_REGISTRY:BOOL=OFF
-D CMAKE_BUILD_TYPE:STRING=${{ matrix.build-type.name }}
-D CMAKE_CXX_SCAN_FOR_MODULES:BOOL=OFF
('${{ matrix.compiler.key }}' -ceq 'clang' ? '-D CMAKE_LINKER_TYPE:STRING=LLD' :
'-D CMAKE_LINKER_TYPE:STRING=BFD')
-D CMAKE_LINKER_TYPE:STRING=$tinyLinkerType
-D VCPKG_APPLOCAL_DEPS:BOOL=OFF
-D VERBOSE_CONFIGURE:BOOL=ON
-D BUILD_TREE_DEPLOY:BOOL=ON
Expand Down

0 comments on commit af46810

Please sign in to comment.