From dcfcf460a5617d6b661de03afbb1830e762d8bed Mon Sep 17 00:00:00 2001 From: Christoffer Lerno Date: Mon, 3 Oct 2022 16:30:00 +0200 Subject: [PATCH] Support LLVM 15 MacOS. --- .github/workflows/main.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a1b167325..a6824528e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -248,12 +248,12 @@ jobs: fail-fast: false matrix: build_type: [Release, Debug] - llvm_version: [13, 14] + llvm_version: [13, 14, 15] steps: - uses: actions/checkout@v3 - name: Download LLVM run: | - brew install llvm@${{ matrix.llvm_version }} botan ninja + brew update && brew install llvm@${{ matrix.llvm_version }} botan ninja echo "/usr/local/opt/llvm@${{ matrix.llvm_version }}/bin" >> $GITHUB_PATH TMP_PATH=$(xcrun --show-sdk-path)/user/include echo "CPATH=$TMP_PATH" >> $GITHUB_ENV @@ -288,7 +288,11 @@ jobs: - name: run compiler tests run: | cd test - python3 src/tester.py ../build/c3c test_suite/ + if [[ "${{matrix.llvm_version}}" < 15 ]]; then + python3 src/tester.py ../build/c3c test_suite/ + else + python3 src/tester.py ../build/c3c test_suite2/ + fi - name: bundle_output if: matrix.llvm_version == env.LLVM_RELEASE_VERSION