Adds additional context to "Unable to convert the index from usize" #90
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
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
glium: ["", "glium-support"] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
with: | |
components: clippy, rustfmt | |
- uses: Swatinem/rust-cache@v2 | |
- run: cargo build --features '${{ matrix.glium }}' | |
- run: cargo test --features '${{ matrix.glium }}' | |
- run: cargo clippy --features '${{ matrix.glium }}' --no-deps -- -D warnings | |
- run: cargo fmt -- --check | |
sample: | |
name: Test sample app | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
project: [sampleapp, sampleapp-vulkano] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
with: | |
components: clippy, rustfmt | |
- uses: Swatinem/rust-cache@v2 | |
- run: cargo build -p '${{ matrix.project }}' | |
- run: cargo test -p '${{ matrix.project }}' | |
- run: cargo clippy -p '${{ matrix.project }}' --no-deps -- -D warnings | |
- run: cargo fmt -p '${{ matrix.project }}' -- --check | |
sample-windows: | |
name: Test sample app on Windows | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
with: | |
components: clippy, rustfmt | |
- uses: Swatinem/rust-cache@v2 | |
- run: cargo build -p sampleapp | |
- run: cargo test -p sampleapp | |
- run: cargo clippy -p sampleapp --no-deps -- -D warnings | |
- run: cargo fmt -p sampleapp -- --check |