Skip to content

Commit

Permalink
Try again
Browse files Browse the repository at this point in the history
  • Loading branch information
Oipo committed Sep 23, 2024
1 parent ea42cf7 commit 5d6a774
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,17 @@ jobs:
# - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100655
# - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101978

env:
CC: $(echo "${{matrix.compiler}}" | cut -d ";" -f 1)
CXX: $(echo "${{matrix.compiler}}" | cut -d ";" -f 2)
LD_LIBRARY_PATH: $(echo "${{matrix.compiler}}" | cut -d ";" -f 3)

steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- name: "Set env"
run: |
echo "${{matrix.compiler}}" | cut -d ";" -f 1 | (echo -n CC= && cat) >> $GITHUB_ENV
echo "${{matrix.compiler}}" | cut -d ";" -f 2 | (echo -n CXX= && cat) >> $GITHUB_ENV
echo "${{matrix.compiler}}" | cut -d ";" -f 3 | (echo -n LD_LIBRARY_PATH= && cat) >> $GITHUB_ENV
- name: "Configure CMake (spdlog:${{matrix.spdlog}}, asan)"
if: ${{matrix.sanitizer == 'asan'}}
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
Expand Down

0 comments on commit 5d6a774

Please sign in to comment.