From: Steve Myers Date: Wed, 2 Dec 2026 19:26:59 +0000 (-0600) Subject: ci: use distro clang in wasm job X-Git-Url: http://internal-gitweb-vhost/-script/trait.impl/serde/ser/trait.SerializeTupleVariant.js?a=commitdiff_plain;p=bdk 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. --- 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: