-
Notifications
You must be signed in to change notification settings - Fork 967
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into presentation_statis…
…tics
- Loading branch information
Showing
57 changed files
with
1,173 additions
and
665 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 |
---|---|---|
|
@@ -159,11 +159,44 @@ jobs: | |
# check with no features | ||
cargo clippy --target ${{ matrix.target }} -p wgpu -p wgpu-core -p wgpu-info -p player --no-default-features | ||
# check with all features | ||
cargo clippy --target ${{ matrix.target }} -p wgpu -p wgpu-core -p wgpu-info -p player --tests --all-features | ||
# Check with all features. | ||
# (But watch out for backend-selection features in wgpu-core; some of | ||
# those only build on the right platforms.) | ||
cargo clippy --target ${{ matrix.target }} -p wgpu -p wgpu-info -p player --tests --all-features | ||
cargo clippy --target ${{ matrix.target }} -p wgpu-core --tests \ | ||
--features="portable_features" | ||
# build docs | ||
cargo doc --target ${{ matrix.target }} -p wgpu -p wgpu-core -p wgpu-info -p player --all-features --no-deps | ||
# (Watch out for backend-selection features in wgpu-core; some of | ||
# those only build on the right platforms.) | ||
cargo doc --target ${{ matrix.target }} -p wgpu -p wgpu-info -p player --all-features --no-deps | ||
cargo doc --target ${{ matrix.target }} -p wgpu-core --no-deps --features="portable_features" | ||
wasm-test: | ||
name: Test WebAssembly | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout repo | ||
uses: actions/checkout@v3 | ||
|
||
- name: install rust stable | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
profile: minimal | ||
override: true | ||
|
||
- name: install wasm-pack # install from fork until this is merged: https://github.com/rustwasm/wasm-pack/pull/1185 | ||
run: | | ||
# replace with "install wasm-pack action", which doesn't work for this project because of https://github.com/rustwasm/wasm-pack/issues/1180 | ||
# - name: install wasm-pack | ||
# uses: jetli/[email protected] | ||
cargo install --git https://github.com/haraldreingruber/wasm-pack wasm-pack | ||
- name: execute tests | ||
run: | | ||
cd wgpu | ||
wasm-pack test --headless --chrome --features webgl | ||
gpu-test: | ||
strategy: | ||
|
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
Oops, something went wrong.