From 28e7f631aad102fdfdfba6a91ed586e7cf195488 Mon Sep 17 00:00:00 2001 From: Blake <0xblake.sg@gmail.com> Date: Sat, 21 Nov 2026 09:32:50 +0800 Subject: [PATCH 1/3] ci: pin Linux release builds to Ubuntu 24.04 and LLVM 18 --- .github/workflows/release.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6cd60682..a05be2c4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: strategy: matrix: - os: [ubuntu-latest, macos-latest] + os: [ ubuntu-24.04, macos-latest ] steps: - name: Checkout code @@ -49,7 +49,10 @@ jobs: - name: Install dependencies (Linux) if: runner.os == 'Linux' - run: sudo apt-get update && sudo apt-get install -y protobuf-compiler + run: | + sudo apt-get update + sudo apt-get install -y protobuf-compiler libclang-18-dev + echo "LIBCLANG_PATH=/usr/lib/llvm-18/lib" >> "$GITHUB_ENV" - name: Install dependencies (macOS) if: runner.os == 'macOS' From eadd37289848257df50e7868f0f671bc4ff4c523 Mon Sep 17 00:00:00 2001 From: Blake <0xblake.sg@gmail.com> Date: Sat, 21 Nov 2026 09:39:36 +0800 Subject: [PATCH 2/3] ci: remove the redundant GC test workflow --- .github/workflows/ci_time_consuming.yml | 22 ---------------------- .github/workflows/e2e_localnet.yml | 2 +- crates/bitvm-gc/Cargo.toml | 1 - 3 files changed, 1 insertion(+), 24 deletions(-) delete mode 100644 .github/workflows/ci_time_consuming.yml diff --git a/.github/workflows/ci_time_consuming.yml b/.github/workflows/ci_time_consuming.yml deleted file mode 100644 index 666e1872..00000000 --- a/.github/workflows/ci_time_consuming.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: Time-consuming test - -on: - push: - branches: ["main", "dev"] - workflow_dispatch: - -env: - CARGO_TERM_COLOR: always - -jobs: - test: - name: Cargo Test - runs-on: [self-hosted, bitvm2-node] - steps: - - uses: actions/checkout@v5 - - uses: dtolnay/rust-toolchain@nightly - - name: Run all unit tests - run: | - source ~/.zkm-toolchain/env - cd crates/bitvm-gc - cargo test -r --features ci-tests -- --nocapture diff --git a/.github/workflows/e2e_localnet.yml b/.github/workflows/e2e_localnet.yml index ef3303cd..83c1b640 100644 --- a/.github/workflows/e2e_localnet.yml +++ b/.github/workflows/e2e_localnet.yml @@ -2,7 +2,7 @@ name: Localnet e2e # The whole localnet e2e suite (localnet/README.md, localnet/e2e/README.md) on the self-hosted # bitvm2-node runner: build the mock-gc binaries, rebuild a private localnet, run all 13 cases. -# ~2 h per run, so it is not a PR gate: same triggers as ci_time_consuming.yml. +# The suite takes about two hours per run. on: push: diff --git a/crates/bitvm-gc/Cargo.toml b/crates/bitvm-gc/Cargo.toml index 0be4db45..35ae4f52 100644 --- a/crates/bitvm-gc/Cargo.toml +++ b/crates/bitvm-gc/Cargo.toml @@ -51,7 +51,6 @@ tokio = { workspace = true, features = ["macros", "time"] } [features] default = [] -ci-tests = [] # Replace the real BABE/GC/soldering machinery with deterministic, on-chain-valid # mocks. Localnet only. See node feature `mock-gc` which forwards to this one. mock-gc = ["dep:zkm-sdk"] From 8846cacfa7438e33240d52dce9a9febce0b12647 Mon Sep 17 00:00:00 2001 From: Blake <0xblake.sg@gmail.com> Date: Sat, 21 Nov 2026 09:54:29 +0800 Subject: [PATCH 3/3] ci: remove gc-v2 branch from CI workflow --- .github/workflows/ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 986c5260..12b0f14c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,6 @@ on: branches: - main - dev - - gc-v2 env: CARGO_TERM_COLOR: always