From 8a82e4e9cef66890d020fa8f162a0b94cfc1852f Mon Sep 17 00:00:00 2001 From: Nyakku Shigure Date: Tue, 15 Oct 2024 22:33:35 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20ci:=20use=20LLVM=2018=20in=20CI?= =?UTF-8?q?=20workflow=20(#192)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/rcalc-test.yml | 6 +++--- Cargo.lock | 4 ++-- Cargo.toml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/rcalc-test.yml b/.github/workflows/rcalc-test.yml index 38666e5..6367c30 100644 --- a/.github/workflows/rcalc-test.yml +++ b/.github/workflows/rcalc-test.yml @@ -9,18 +9,18 @@ on: env: CARGO_TERM_COLOR: always - LLVM_VERSION: 17.0 + LLVM_VERSION: 18.1 jobs: test-rcalc: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 # For LLVM18 steps: - name: Checkout uses: actions/checkout@v4 - name: Update rust toolchain run: rustup update - name: Install LLVM and Clang - uses: KyleMayes/install-llvm-action@v2.0.5 + uses: KyleMayes/install-llvm-action@v2 with: version: ${{ env.LLVM_VERSION }} - name: Cache cargo build diff --git a/Cargo.lock b/Cargo.lock index 046e28b..9e53663 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -159,9 +159,9 @@ checksum = "99227334921fae1a979cf0bfdfcc6b3e5ce376ef57e16fb6fb3ea2ed6095f80c" [[package]] name = "llvm-sys" -version = "170.1.1" +version = "180.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd263594e016a778a9cf53228b3c56fb9eb094c7bced467bd8a30802c4b40f95" +checksum = "778fa5fa02e32728e718f11eec147e6f134137399ab02fd2c13d32476337affa" dependencies = [ "anyhow", "cc", diff --git a/Cargo.toml b/Cargo.toml index 8721e00..a855186 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,5 +11,5 @@ jit = ["inkwell"] [dependencies] clap = { version = "4.5.4", features = ["derive"] } -inkwell = { version = "0.5.0", features = ["llvm17-0"], optional = true } +inkwell = { version = "0.5.0", features = ["llvm18-0"], optional = true } peg = "0.8.3"