Skip to content

Merge pull request #107 from Lurk/pre_release #411

Merge pull request #107 from Lurk/pre_release

Merge pull request #107 from Lurk/pre_release #411

Workflow file for this run

name: lint and test
on: [push, pull_request]
jobs:
Test:
name: ${{ matrix.name }} (${{ matrix.config }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
config: [Debug, Release]
include:
- os: macos-latest
name: macOS
- os: ubuntu-latest
name: Linux
- os: windows-latest
name: Windows
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: clippy
override: true
- name: Dependencies (Linux)
if: runner.os == 'Linux'
run: sudo apt-get install libxkbcommon-dev libxcb-shape0-dev libxcb-xfixes0-dev
- name: build
uses: actions-rs/cargo@v1
with:
command: build
- name: test
uses: actions-rs/cargo@v1
with:
command: test
- name: clippy
run: cargo clippy --all -- -D warnings