Bump bindgen from 0.69.1 to 0.69.2 #25
Workflow file for this run
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
name: CI | |
on: [push, pull_request] | |
env: | |
minrust: 1.65.0 | |
jobs: | |
test: | |
name: Test | |
runs-on: ${{ matrix.os || 'ubuntu-latest' }} | |
strategy: | |
fail-fast: false | |
matrix: | |
name: | |
- stable | |
- beta | |
- nightly | |
include: | |
- name: beta | |
toolchain: beta | |
- name: nightly | |
toolchain: nightly | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v2 | |
- name: Install toolchain | |
id: tc | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: ${{ matrix.toolchain || 'stable' }} | |
profile: minimal | |
override: true | |
- name: Setup cache | |
if: runner.os != 'macOS' | |
uses: actions/cache@v2 | |
with: | |
path: | | |
~/.cargo/registry | |
~/.cargo/git | |
target | |
key: ${{ runner.os }}-test-${{ steps.tc.outputs.rustc_hash }}-${{ hashFiles('**/Cargo.toml') }} | |
- name: Install Vulkan loader | |
run: sudo apt-get install libvulkan-dev | |
- name: Build all features | |
if: matrix.features == '' | |
run: cargo build --all-features | |
- name: Test all features | |
if: matrix.features == '' | |
run: cargo test --all-features | |
- name: Build with no default features | |
if: matrix.features == '' | |
run: cargo build --no-default-features | |
clippy: | |
name: Run clippy | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v2 | |
- name: Install toolchain | |
id: tc | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
profile: minimal | |
override: true | |
- name: Setup cache | |
uses: actions/cache@v2 | |
with: | |
path: | | |
~/.cargo/registry | |
~/.cargo/git | |
target | |
key: ${{ runner.os }}-clippy-${{ steps.tc.outputs.rustc_hash }}-${{ hashFiles('**/Cargo.toml') }} | |
- name: Install Vulkan loader | |
run: sudo apt-get install libvulkan-dev | |
- run: cargo clippy | |
MSRV: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v2 | |
- name: Install toolchain (${{ env.minrust }}) | |
id: tc | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: ${{ env.minrust }} | |
profile: minimal | |
override: true | |
- name: Setup cache | |
uses: actions/cache@v2 | |
with: | |
path: | | |
~/.cargo/registry | |
~/.cargo/git | |
target | |
key: ${{ runner.os }}-msrv-${{ steps.tc.outputs.rustc_hash }}-${{ hashFiles('**/Cargo.toml') }} | |
- name: Install Vulkan loader | |
run: sudo apt-get install libvulkan-dev | |
- run: cargo check --all-features | |
doc: | |
name: Build docs | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v2 | |
- name: Install toolchain | |
id: tc | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly | |
profile: minimal | |
override: true | |
- name: Setup cache | |
uses: actions/cache@v2 | |
with: | |
path: | | |
~/.cargo/registry | |
~/.cargo/git | |
key: ${{ runner.os }}-docs-${{ steps.tc.outputs.rustc_hash }}-${{ hashFiles('**/Cargo.toml') }} | |
- name: Install Vulkan loader | |
run: sudo apt-get install libvulkan-dev | |
- name: Build docs | |
run: | | |
cargo doc |