-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: wasm target * chore: fix stuff * chore: missing udeps * chore: fmt sscache * chore: separate udeps check * chore: rename * chore: fix udeps
- Loading branch information
1 parent
9c29b40
commit 305ee0a
Showing
9 changed files
with
73 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,8 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Run sccache-cache | ||
uses: mozilla-actions/[email protected] | ||
- uses: pnpm/action-setup@v4 | ||
with: | ||
version: 9 | ||
|
@@ -27,10 +29,43 @@ jobs: | |
- run: while ! curl localhost:8545/health; do sleep 1; done | ||
- run: while ! curl localhost:4337/health; do sleep 1; done | ||
- run: while ! curl localhost:3000/ping; do sleep 1; done | ||
- run: cargo build --workspace --all-features --all-targets | ||
- run: cargo test --all-features --lib --bins | ||
# - run: cargo clippy --workspace --all-features --all-targets -- -D warnings | ||
# - run: cargo +nightly fmt --all -- --check | ||
# - run: cargo +nightly udeps --workspace | ||
- run: cargo +nightly fmt --all -- --check | ||
|
||
udeps: | ||
name: Unused dependencies | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Run sccache-cache | ||
uses: mozilla-actions/[email protected] | ||
- uses: pnpm/action-setup@v4 | ||
with: | ||
version: 9 | ||
- run: rustup update stable && rustup default stable | ||
- run: rustup toolchain install nightly -c rustfmt | ||
- run: git submodule update --init --recursive | ||
- run: make setup-thirdparty | ||
- run: cargo install cargo-udeps | ||
- run: cargo +nightly udeps --workspace | ||
|
||
build_wasm: | ||
name: Build on WASM | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Run sccache-cache | ||
uses: mozilla-actions/[email protected] | ||
- uses: pnpm/action-setup@v4 | ||
with: | ||
version: 9 | ||
- run: rustup update stable && rustup default stable | ||
- run: rustup target add wasm32-unknown-unknown | ||
- run: git submodule update --init --recursive | ||
- run: make setup-thirdparty | ||
- run: cargo build --workspace --all-features --lib --bins --target wasm32-unknown-unknown --exclude=ffi | ||
|
||
build_swift_and_test: | ||
name: Swift Package - latest | ||
|
@@ -41,6 +76,8 @@ jobs: | |
- debug | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Run sccache-cache | ||
uses: mozilla-actions/[email protected] | ||
- uses: pnpm/action-setup@v4 | ||
with: | ||
version: 9 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
pub mod account_client; | ||
#[cfg(not(target_arch = "wasm32"))] | ||
pub mod bundler; | ||
pub mod chain; | ||
pub mod config; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters