Skip to content

Commit

Permalink
wip(ci): update compilers to llvm 15 on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperFola committed Mar 30, 2024
1 parent 0ac0153 commit 3d8bafa
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/setup-compilers/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ runs:
shell: bash
run: |
if [[ '${{ startsWith(inputs.os_name, 'macos') }}' == 'true' ]]; then
echo "cc=${{ inputs.compiler }}" >> $GITHUB_OUTPUT
echo "cxx=${{ inputs.compiler }}++" >> $GITHUB_OUTPUT
echo "cc=/opt/homebrew/opt/llvm@15/bin/${{ inputs.compiler }}" >> $GITHUB_OUTPUT
echo "cxx=/opt/homebrew/opt/llvm@15/bin/${{ inputs.compiler }}++" >> $GITHUB_OUTPUT
elif [[ '${{ inputs.compiler }}' == 'clang' ]]; then
echo "cc=clang-${{ inputs.compiler_version }}" >> $GITHUB_OUTPUT
echo "cxx=clang++-${{ inputs.compiler_version }}" >> $GITHUB_OUTPUT
Expand All @@ -51,6 +51,13 @@ runs:
libc++-${{ inputs.compiler_version }}-dev libc++abi-${{ inputs.compiler_version }}-dev \
clang-tools-${{ inputs.compiler_version }}
- name: Update LLVM compilers
if: startsWith(inputs.os_name, 'macos')
shell: bash
run: |
brew install llvm@15
ls /usr/local/opt/llvm@15/bin
- name: Setup Windows environment
uses: ilammy/msvc-dev-cmd@v1
if: startsWith(inputs.os_name, 'windows')
Expand Down

0 comments on commit 3d8bafa

Please sign in to comment.