Use my own flavor of GitHub workflows

This commit is contained in:
Héctor Ramón Jiménez 2025-03-08 23:46:54 +01:00
parent 59a3ecef65
commit ba9d0ba054
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
5 changed files with 50 additions and 22 deletions

25
.github/workflows/test.yml vendored Normal file
View file

@ -0,0 +1,25 @@
name: Test
on: [push, pull_request]
jobs:
all:
runs-on: ${{ matrix.os }}
env:
RUSTFLAGS: --deny warnings
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
rust: [stable, beta]
steps:
- uses: hecrj/setup-rust-action@v2
with:
rust-version: ${{ matrix.rust }}
- uses: actions/checkout@master
- name: Install dependencies
if: matrix.os == 'ubuntu-latest'
run: |
export DEBIAN_FRONTED=noninteractive
sudo apt-get -qq update
sudo apt-get install -y libxkbcommon-dev
- name: Run tests
run: |
cargo test --verbose --workspace