Skip to content

Commit b24446a

Browse files
committed
CI: correct llvm darwin assert for 15.0.7
1 parent c385fdb commit b24446a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ jobs:
1010
os: [ubuntu-latest, macos-latest, windows-latest]
1111
# oldest and newest supported LLVM version
1212
clang_version: [10.0.0, 15.0.7]
13+
includes:
14+
- os: macos-latest
15+
clang_version: 15.0.7
16+
clang_darwin_version: 21.0
1317
steps:
1418
- uses: actions/checkout@v1
1519
with:
@@ -44,8 +48,8 @@ jobs:
4448
- name: Install LLVM tools (MacOS)
4549
shell: bash
4650
run: |
47-
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 -
48-
export CLANG_DIR=`pwd`/clang+llvm-${{ matrix.clang_version }}-x86_64-apple-darwin/bin
51+
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 -
52+
export CLANG_DIR=`pwd`/clang+llvm-${{ matrix.clang_version }}-x86_64-apple-darwin${{ matrix.clang_darwin_version }}/bin
4953
echo "$CLANG_DIR" >> $GITHUB_PATH
5054
echo "CC=$CLANG_DIR/clang" >> $GITHUB_ENV
5155
echo "AR=$CLANG_DIR/llvm-ar" >> $GITHUB_ENV

0 commit comments

Comments
 (0)