basic V4l2 support #14
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: Continuous Integration | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
windows: | |
name: windows | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
rust: | |
- stable | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: ${{ matrix.rust }} | |
override: true | |
- run: rustup component add clippy | |
- name: check | |
uses: actions-rs/cargo@v1 | |
with: | |
command: check | |
- name: test | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: --no-run | |
- name: clippy | |
uses: actions-rs/cargo@v1 | |
with: | |
command: clippy | |
args: -- -D warnings | |
macos: | |
name: macos | |
runs-on: macos-latest | |
strategy: | |
matrix: | |
rust: | |
- stable | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: ${{ matrix.rust }} | |
override: true | |
- run: rustup component add clippy | |
- name: check | |
uses: actions-rs/cargo@v1 | |
with: | |
command: check | |
- name: test | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: --no-run | |
- name: clippy | |
uses: actions-rs/cargo@v1 | |
with: | |
command: clippy | |
args: -- -D warnings | |
linux: | |
name: linux | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
rust: | |
- stable | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: ${{ matrix.rust }} | |
override: true | |
- run: rustup component add clippy | |
- name: check | |
uses: actions-rs/cargo@v1 | |
with: | |
command: check | |
- name: test | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: --no-run | |
- name: clippy | |
uses: actions-rs/cargo@v1 | |
with: | |
command: clippy | |
args: -- -D warnings |