Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add WASM job #76

Merged
merged 1 commit into from
Jun 7, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,21 @@ jobs:
# "skip" a UI test because of differing output
- run: rm crates/sol-types/tests/ui/type.*
if: ${{ matrix.rust }} == '1.65'
- uses: Swatinem/rust-cache@v2
- name: test
run: cargo test --workspace ${{ matrix.flags }}

wasm:
name: check WASM
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
targets: wasm32-unknown-unknown
- name: check
run: cargo check --workspace --target wasm32-unknown-unknown

feature-checks:
name: feature checks
runs-on: ubuntu-latest
Expand Down