Skip to content
New issue

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

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

Already on GitHub? # to your account

fix wasm ci #6

Merged
merged 2 commits into from
Aug 10, 2024
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
14 changes: 7 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,29 +6,29 @@ jobs:
build_and_check:
strategy:
matrix:
target:
- x86_64-unknown-linux-gnu
- wasm32-unknown-unknown
config:
- { target: x86_64-unknown-linux-gnu, features: "reqwest-async,ureq-sync" }
- { target: wasm32-unknown-unknown, features: "reqwest-async" }

name: Build Check ${{ matrix.target }}
name: Build Check ${{ matrix.config.target }}
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2

- name: Install ${{ matrix.target }}
- name: Install ${{ matrix.config.target }}
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: ${{ matrix.target }}
target: ${{ matrix.config.target }}
profile: minimal
override: true

- name: check build
uses: actions-rs/cargo@v1
with:
command: check
args: --target ${{matrix.target}} --no-default-features --features=reqwest-async,ureq-sync
args: --target ${{matrix.config.target}} --no-default-features --features=${{matrix.config.features}}

test:
strategy:
Expand Down
Loading