name: Build TDK Pinball on: push: pull_request: jobs: build: strategy: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} defaults: run: working-directory: tdkpin-rs steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable with: components: clippy, rustfmt - name: Install Linux development libraries if: runner.os == 'Linux' run: sudo apt-get update && sudo apt-get install -y libasound2-dev libgl1-mesa-dev libxi-dev - run: cargo check --all-targets - run: cargo test --all-targets - run: cargo clippy --all-targets -- -D warnings