summaryrefslogtreecommitdiffstats
path: root/.github/workflows/integration.yml
blob: 54ca2e33d82ee356d98373b2d95cf7b39784de8c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: Integration
on: [push, pull_request]
jobs:
  test:
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ubuntu-latest, windows-latest, macOS-latest]
        rust: [stable, beta]
        include:
          - os: ubuntu-latest
            rust: stable
            targets: 'wasm32-unknown-unknown'
    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