From ba47dc513e8bffe9f766713af7cc32b86a976d06 Mon Sep 17 00:00:00 2001 From: Steve Myers Date: Wed, 2 Dec 2026 13:26:59 -0600 Subject: [PATCH] ci: use distro clang in wasm job The ubuntu-latest image no longer ships apt-key or clang-14. Install the default clang instead; secp256k1-sys's bundled wasm sysroot makes the CFLAGS and libc6-dev-i386 workarounds unnecessary. --- .github/workflows/cont_integration.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cont_integration.yml b/.github/workflows/cont_integration.yml index 854f2ea9..331a3d98 100644 --- a/.github/workflows/cont_integration.yml +++ b/.github/workflows/cont_integration.yml @@ -248,17 +248,15 @@ jobs: name: Check WASM runs-on: ubuntu-latest env: - CC: clang-14 - CFLAGS: -I/usr/include + CC: clang steps: - name: Checkout uses: actions/checkout@v7 with: persist-credentials: false - # Install a recent version of clang that supports wasm32 - - run: wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - || exit 1 + # Install the distro clang, which supports wasm32. - run: sudo apt-get update || exit 1 - - run: sudo apt-get install -y libclang-common-14-dev clang-14 libc6-dev-i386 || exit 1 + - run: sudo apt-get install -y clang || exit 1 - name: Install Rust toolchain uses: actions-rust-lang/setup-rust-toolchain@a188e68d0fd2bd36ad51dccb2b07ba6e75105f30 # v2.0.1 with: -- 2.49.0