summaryrefslogtreecommitdiffstats
path: root/.github/workflows/integration.yml
blob: 5e73f3cbacaf166baa6c5aa2035f8d3f9cbf0738 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
name: Integration
on: [push, pull_request]
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 }}
        targets: ${{ matrix.targets }}
    - 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