Skip to content

run ci on wasm32-unknown-unknown #852

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

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
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
20 changes: 20 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,26 @@ jobs:
- name: test
run: cross test --all --features unstable --target ${{ matrix.target }}

check_wasm:
name: Check wasm targets
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@master

- name: Install nightly with wasm32-unknown-unknown
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably should use stable for this, there are some current nightlies without wasm32 target support

Copy link
Contributor Author

@jbr jbr Aug 24, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

addressed in 5342950 + 8afc6a7 by adding a toolchain matrix

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

uses: actions-rs/toolchain@v1
with:
toolchain: nightly
target: wasm32-unknown-unknown
override: true

- name: check
uses: actions-rs/cargo@v1
with:
command: check
args: --target wasm32-unknown-unknown

check_fmt_and_docs:
name: Checking fmt and docs
runs-on: ubuntu-latest
Expand Down