Skip to content

Commit

Permalink
CI: correct llvm darwin assert for 15.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
yamt committed Feb 17, 2023
1 parent c385fdb commit b24446a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
# oldest and newest supported LLVM version
clang_version: [10.0.0, 15.0.7]
includes:
- os: macos-latest
clang_version: 15.0.7
clang_darwin_version: 21.0
steps:
- uses: actions/checkout@v1
with:
Expand Down Expand Up @@ -44,8 +48,8 @@ jobs:
- name: Install LLVM tools (MacOS)
shell: bash
run: |
curl -sSfL https://github.com/llvm/llvm-project/releases/download/llvmorg-${{ matrix.clang_version }}/clang+llvm-${{ matrix.clang_version }}-x86_64-apple-darwin.tar.xz | tar xJf -
export CLANG_DIR=`pwd`/clang+llvm-${{ matrix.clang_version }}-x86_64-apple-darwin/bin
curl -sSfL https://github.com/llvm/llvm-project/releases/download/llvmorg-${{ matrix.clang_version }}/clang+llvm-${{ matrix.clang_version }}-x86_64-apple-darwin${{ matrix.clang_darwin_version }}.tar.xz | tar xJf -
export CLANG_DIR=`pwd`/clang+llvm-${{ matrix.clang_version }}-x86_64-apple-darwin${{ matrix.clang_darwin_version }}/bin
echo "$CLANG_DIR" >> $GITHUB_PATH
echo "CC=$CLANG_DIR/clang" >> $GITHUB_ENV
echo "AR=$CLANG_DIR/llvm-ar" >> $GITHUB_ENV
Expand Down

0 comments on commit b24446a

Please sign in to comment.