Fix mouse position in playback tests #45
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
simple-checks: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: davidB/rust-cargo-make@v1 | |
- uses: actions/checkout@v3 | |
- uses: Swatinem/rust-cache@v2 | |
- name: Install dependencies | |
run: sudo apt-get update | |
&& sudo apt-get install -y g++ pkg-config libx11-dev libasound2-dev libudev-dev libxkbcommon-x11-0 libwayland-dev libxkbcommon-dev | |
- name: Build | |
run: cargo make build | |
- name: Run checks | |
run: cargo make validate | |
integration-tests: | |
runs-on: windows-latest | |
steps: | |
- uses: davidB/rust-cargo-make@v1 | |
- uses: actions/checkout@v3 | |
- uses: Swatinem/rust-cache@v2 | |
- name: Run integration tests | |
run: cargo make ci_integration_test | |
- name: Save artefacts | |
uses: actions/upload-artifact@v3 | |
if: ${{ always() }} | |
with: | |
name: integration-test-artefacts | |
path: bitt/artefacts | |
headless-integration-tests: | |
runs-on: windows-latest | |
steps: | |
- uses: davidB/rust-cargo-make@v1 | |
- uses: actions/checkout@v3 | |
- uses: Swatinem/rust-cache@v2 | |
- name: Run integration tests | |
run: cargo make headless_ci_integration_test | |
- name: Save artefacts | |
uses: actions/upload-artifact@v3 | |
if: ${{ always() }} | |
with: | |
name: headless-integration-test-artefacts | |
path: bitt/artefacts |