]> Untitled Git - bdk/commitdiff
ci: use distro clang in wasm job master github/master
authorSteve Myers <steve@notmandatory.org>
Wed, 2 Dec 2026 19:26:59 +0000 (13:26 -0600)
committerSteve Myers <steve@notmandatory.org>
Wed, 2 Dec 2026 20:13:28 +0000 (14:13 -0600)
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

index 854f2ea9cd349d4e76c4e3c2731c5bdf67534939..331a3d9850fedb00ebd9a6e57bc554add8103d0c 100644 (file)
@@ -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: