Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nVxx authored Nov 8, 2023
1 parent 43a59eb commit 85f5c6c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:
os: [ubuntu-20.04, ubuntu-22.04, windows-2022, macos-12]
type: [Debug, Release]
compiler: [default]
clang: ["/usr/lib/llvm-12/bin/clang"]
include:
- target-platform: iphoneos
os: macos-12
Expand Down Expand Up @@ -64,11 +63,12 @@ jobs:
cmake_args="-DCMAKE_BUILD_TYPE=${{ matrix.type }}"
if [[ "${{matrix.compiler}}" == "clang"* ]]; then
export CC=${{ matrix.clang }}
export CXX=${{ matrix.clang }}++
export PATH=/usr/lib/llvm-12/bin/clang:$PATH
echo "Path after $PATH"
cmake_args+=" -DCMAKE_EXPORT_COMPILE_COMMANDS=1"
cmake_args+=" -DCMAKE_TOOLCHAIN_FILE=$GITHUB_WORKSPACE/cmake/toolchain/Linux_X86_64_llvm.toolchain"
fi
echo "Path outside of if: $PATH"
if [[ "${{matrix.os}}" == "windows"* ]]; then
# This is needed because on the Windows Server 2019 build nodes of Github, the Perl installation
Expand Down

0 comments on commit 85f5c6c

Please sign in to comment.