Skip to content

Version bump

Version bump #21

Workflow file for this run

name: CI
on:
pull_request:
push:
env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: false
RUST_LOG: "info,wgpu_hal::vulkan::instance=off"
RUST_BACKTRACE: full
RUSTFLAGS: -D warnings
RUSTDOCFLAGS: -D warnings
jobs:
tests:
name: Build and Tests
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
- nightly
steps:
- name: Lavapipe GPU Software Renderer
run: |
sudo apt-get install -y \
mesa-vulkan-drivers \
libvulkan1 \
vulkan-tools \
vulkan-validationlayers
- run: vulkaninfo
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
components: clippy, rustfmt
override: true
- name: Build
run: cargo build --verbose
- name: Test
run: cargo test --verbose
- name: Clippy check
uses: actions-rs/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-targets --all-features -- -D warnings
- name: Rustfmt check
uses: mbrobbel/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}