mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-25 16:24:24 +00:00
Start adjusting CI
This commit is contained in:
parent
26f3c03150
commit
861e84b178
21
.github/workflows/ci.yml
vendored
21
.github/workflows/ci.yml
vendored
@ -112,30 +112,37 @@ jobs:
|
||||
wrapper_features:
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- if: matrix.channel == 'nightly'
|
||||
name: Install latest nightly
|
||||
- name: Install latest nightly
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: nightly
|
||||
toolchain: ${{ matrix.channel }}
|
||||
override: true
|
||||
|
||||
- if: matrix.clippy_params != ''
|
||||
run: rustup component add clippy
|
||||
# prepare
|
||||
|
||||
# prepare #
|
||||
- if: matrix.prepare_command != ''
|
||||
run: ${{ matrix.prepare_command }}
|
||||
# regular build
|
||||
|
||||
# regular build #
|
||||
|
||||
# build
|
||||
- if: matrix.additional_core_features != ''
|
||||
run: cargo check --manifest-path wgpu-core/Cargo.toml --features ${{ matrix.additional_core_features }}
|
||||
|
||||
- if: matrix.additional_player_features != ''
|
||||
run: cargo check --manifest-path player/Cargo.toml --features ${{ matrix.additional_player_features }}
|
||||
- run: cargo check --manifest-path wgpu/Cargo.toml --examples --features ${{ matrix.wrapper_features }},
|
||||
|
||||
# clippy
|
||||
- if: matrix.clippy_params != ''
|
||||
run: cargo clippy ${{ matrix.clippy_params }}
|
||||
|
||||
- if: matrix.channel == 'nightly'
|
||||
run: cargo test -p wgpu-core -- --nocapture
|
||||
# - if: matrix.channel == 'nightly'
|
||||
# run: cargo run --bin wgpu-info -- cargo test -p wgpu -- --nocapture
|
||||
- if: matrix.channel == 'nightly'
|
||||
run: cargo run --bin wgpu-info -- cargo test -p wgpu -- --nocapture --test-threads=1 # GLES is currently non-multithreadable
|
||||
|
||||
|
||||
docs:
|
||||
|
Loading…
Reference in New Issue
Block a user