summaryrefslogtreecommitdiffstats
path: root/.github/workflows/integration.yml
blob: 884a4e9eaeb9173beafcb542dfd575ef5cc91c22 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
name: Integration
on: [push]
jobs:
  test:
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ubuntu-latest, windows-latest, macOS-latest]
        rust: [stable, beta]
    steps:
    - uses: hecrj/setup-rust-action@v1
      with:
        rust-version: ${{ matrix.rust }}
    - name: Install libinput
      if: matrix.os == 'ubuntu-latest'
      run: |
        sudo apt-get -qq update
        sudo apt-get install -y libasound2-dev libudev-dev
    - uses: actions/checkout@master
    - name: Run tests
      run: cargo test --verbose --all --all-features