From 08d3602c7b6fecd34a1c71a65eb3c1b50b42e03b Mon Sep 17 00:00:00 2001 From: mcbarton <150042563+mcbarton@users.noreply.github.com> Date: Sat, 3 Aug 2024 19:38:25 +0100 Subject: [PATCH] Add llvm 19 to ci --- .github/workflows/ci.yml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 412e1cb..95ae1cc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,6 +21,12 @@ jobs: fail-fast: false matrix: include: + - name: ubu22-x86-gcc12-clang-repl-19-cppyy + os: ubuntu-22.04 + compiler: gcc-12 + clang-runtime: '19' + cling: Off + cppyy: On - name: ubu22-x86-gcc12-clang-repl-18-cppyy os: ubuntu-22.04 compiler: gcc-12 @@ -66,6 +72,12 @@ jobs: # cling: On # cling-version: '1.0' # cppyy: On + - name: osx13-x86-clang-clang-repl-19-cppyy + os: macos-13 + compiler: clang + clang-runtime: '18' + cling: Off + cppyy: On - name: osx13-x86-clang-clang-repl-18-cppyy os: macos-13 compiler: clang @@ -91,6 +103,12 @@ jobs: cling: On cling-version: '1.0' cppyy: On + - name: osx14-arm-clang-clang-repl-19-cppyy + os: macos-14 + compiler: clang + clang-runtime: '18' + cling: Off + cppyy: On - name: osx14-arm-clang-clang-repl-18-cppyy os: macos-14 compiler: clang @@ -354,7 +372,7 @@ jobs: else # Apply patches llvm_vers=$(echo "${{ matrix.clang-runtime }}" | tr '[:lower:]' '[:upper:]') - if [[ "${llvm_vers}" != "18" ]]; then + if [[ "${llvm_vers}" == "16" ]]||[[ "${llvm_vers}" == "17" ]]; then git apply -v ../CPyCppyy/patches/llvm/clang${{ matrix.clang-runtime }}-*.patch echo "Apply clang${{ matrix.clang-runtime }}-*.patch patches:" fi