Skip to content

Commit 4a66557

Browse files
notmandatorytvpeter
authored andcommitted
ci: remove WASM job, fix more clippy errors
1 parent eb947fc commit 4a66557

5 files changed

Lines changed: 76 additions & 296 deletions

File tree

.github/workflows/cont_integration.yml

Lines changed: 34 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -51,39 +51,40 @@ jobs:
5151
- name: Test
5252
run: cargo test ${{ matrix.features }}
5353

54-
wasm-build:
55-
name: Build WASM
56-
runs-on: ubuntu-20.04
57-
env:
58-
CC: clang-10
59-
CFLAGS: -I/usr/include
60-
steps:
61-
- name: Checkout
62-
uses: actions/checkout@v4
63-
- name: Generate cache key
64-
run: echo "Build WASM" | tee .cache_key
65-
- name: Cache
66-
uses: actions/cache@v4
67-
with:
68-
path: |
69-
~/.cargo/registry
70-
~/.cargo/git
71-
target
72-
key: ${{ runner.os }}-cargo-${{ hashFiles('.cache_key') }}-${{ hashFiles('**/Cargo.toml','**/Cargo.lock') }}
73-
# Install a recent version of clang that supports wasm32
74-
- run: wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - || exit 1
75-
- run: sudo apt-get update || exit 1
76-
- run: sudo apt-get install -y libclang-common-10-dev clang-10 libc6-dev-i386 || exit 1
77-
- name: Set default toolchain
78-
run: rustup default stable
79-
- name: Set profile
80-
run: rustup set profile minimal
81-
- name: Add target wasm32
82-
run: rustup target add wasm32-unknown-unknown
83-
- name: Update toolchain
84-
run: rustup update
85-
- name: Build
86-
run: cargo build --target wasm32-unknown-unknown --no-default-features --features esplora,compiler,dev-getrandom-wasm
54+
# TODO: fix or remove this
55+
# wasm-build:
56+
# name: Build WASM
57+
# runs-on: ubuntu-20.04
58+
# env:
59+
# CC: clang-10
60+
# CFLAGS: -I/usr/include
61+
# steps:
62+
# - name: Checkout
63+
# uses: actions/checkout@v4
64+
# - name: Generate cache key
65+
# run: echo "Build WASM" | tee .cache_key
66+
# - name: Cache
67+
# uses: actions/cache@v4
68+
# with:
69+
# path: |
70+
# ~/.cargo/registry
71+
# ~/.cargo/git
72+
# target
73+
# key: ${{ runner.os }}-cargo-${{ hashFiles('.cache_key') }}-${{ hashFiles('**/Cargo.toml','**/Cargo.lock') }}
74+
# # Install a recent version of clang that supports wasm32
75+
# - run: wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - || exit 1
76+
# - run: sudo apt-get update || exit 1
77+
# - run: sudo apt-get install -y libclang-common-10-dev clang-10 libc6-dev-i386 || exit 1
78+
# - name: Set default toolchain
79+
# run: rustup default stable
80+
# - name: Set profile
81+
# run: rustup set profile minimal
82+
# - name: Add target wasm32
83+
# run: rustup target add wasm32-unknown-unknown
84+
# - name: Update toolchain
85+
# run: rustup update
86+
# - name: Build
87+
# run: cargo build --target wasm32-unknown-unknown --no-default-features --features esplora,compiler,dev-getrandom-wasm
8788

8889
fmt:
8990
name: Rust fmt

0 commit comments

Comments
 (0)