Skip to content

Commit

Permalink
Merge pull request #4515 from epage/wasm
Browse files Browse the repository at this point in the history
chore(ci): Force setting of toolchain target
  • Loading branch information
epage committed Jan 3, 2023
2 parents a87b559 + 67864a4 commit e7033f7
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 87 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -109,6 +109,8 @@ jobs:
- uses: Swatinem/rust-cache@v2
- name: Check
run: make check-${{ matrix.features }}
env:
TOOLCHAIN_TARGET: ${{ matrix.target }}
ui:
name: UI Tests
runs-on: ubuntu-latest
Expand Down
103 changes: 17 additions & 86 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion Makefile
Expand Up @@ -15,12 +15,15 @@ MSRV?=1.60.0
_FEATURES = minimal default wasm full debug release
_FEATURES_minimal = --no-default-features --features "std"
_FEATURES_default =
_FEATURES_wasm = --features "deprecated derive cargo env unicode string unstable-replace unstable-grouped"
_FEATURES_wasm = --no-default-features --features "std help usage error-context suggestions" --features "deprecated derive cargo env unicode string unstable-replace unstable-grouped"
_FEATURES_full = --features "deprecated derive cargo env unicode string unstable-replace unstable-grouped wrap_help"
_FEATURES_next = ${_FEATURES_full} --features unstable-v5
_FEATURES_debug = ${_FEATURES_full} --features debug --features clap_complete/debug
_FEATURES_release = ${_FEATURES_full} --release

check-wasm:
cargo check ${_FEATURES_${@:check-%=%}} ${ARGS}

check-%:
cargo check ${_FEATURES_${@:check-%=%}} --all-targets ${ARGS}

Expand Down

0 comments on commit e7033f7

Please sign in to comment.