Skip to content

Provide idiomatic abstraction for vGPU type information #153

Provide idiomatic abstraction for vGPU type information

Provide idiomatic abstraction for vGPU type information #153

Workflow file for this run

on:
push:
branches:
- main
pull_request:
name: CI
jobs:
check:
name: Check
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
rust:
- stable
- 1.60.0
# Avoid trying to build on macos-latest with Rust 1.51
#
# Rust < 1.54 doesn't work with xcode 14
# https://github.com/rust-lang/rust/issues/103044
include:
- os: macos-latest
rust: stable
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- uses: actions-rs/cargo@v1
with:
command: check
args: --all-features
- uses: actions-rs/cargo@v1
with:
command: test
args: --no-run
fmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: clippy
- uses: actions-rs/cargo@v1
with:
command: clippy