From b24446a0156e13a4547504d50d8f96f5141a27b5 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Fri, 17 Feb 2023 13:52:09 +0900 Subject: [PATCH] CI: correct llvm darwin assert for 15.0.7 --- .github/workflows/main.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4efb8b61a..38f62ff13 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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: @@ -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