Skip to content

Commit

Permalink
CI workflow now passes stdlib variable to script
Browse files Browse the repository at this point in the history
  • Loading branch information
bluetarpmedia committed May 22, 2024
1 parent dd80038 commit a6b3bc2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/regression-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
if: startsWith(matrix.os, 'ubuntu') || startsWith(matrix.os, 'macos')
run: |
cd regression-tests
bash run-tests.sh -c ${{ matrix.compiler }} -l ${{ matrix.os }}
bash run-tests.sh -c ${{ matrix.compiler }} -s ${{ matrix.stdlib }} -l ${{ matrix.os }}
- name: Run regression tests - Windows version
if: matrix.os == 'windows-latest'
Expand Down
2 changes: 1 addition & 1 deletion regression-tests/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ else
fi

# Choose which C++ Standard Library (libstdc++ | libc++) to link with
if [[ "$cxx_stdlib" == "default" ]]; then
if [[ "$cxx_stdlib" == "default" || "$cxx_stdlib" == "" ]]; then
cxx_stdlib_link_arg=""
elif [[ "$cxx_stdlib" == "libstdc++" ]]; then
cxx_stdlib_link_arg="-stdlib=libstdc++"
Expand Down

0 comments on commit a6b3bc2

Please sign in to comment.