Skip to content

Commit

Permalink
Only setup llvm on MacOS and Windows if matrix.debug_build != true
Browse files Browse the repository at this point in the history
  • Loading branch information
mcbarton authored Nov 25, 2024
1 parent 813ff99 commit 7b236d3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ jobs:
echo "Unsupported compiler - fix YAML file"
}
- name: Setup LLVM/Clang on macOS
if: runner.os == 'macOS'
if: ${{ runner.os == 'macOS' && (matrix.debug_build != true) }}
run: |
#brew update
brew install --ignore-dependencies llvm
Expand Down Expand Up @@ -796,8 +796,9 @@ jobs:
pip3 install lit # LLVM lit is not part of the llvm releases...
# We need PATH_TO_LLVM_BUILD later
echo "PATH_TO_LLVM_BUILD=$PATH_TO_LLVM_BUILD" >> $GITHUB_ENV
- name: Setup LLVM/Clang on Windows
if: ${{ runner.os == 'windows' }}
if: ${{ runner.os == 'windows' && (matrix.debug_build != true) }}
run: |
C:\Miniconda\condabin\conda.bat install -y -c conda-forge "clangdev=${{ matrix.clang-runtime }}"
$env:PATH_TO_LLVM_BUILD="$env:CONDA\Library"
Expand Down

0 comments on commit 7b236d3

Please sign in to comment.