WIP: Replace evdev with inputtino #91
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: Test | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
name: Run tests | |
runs-on: ubuntu-latest | |
container: | |
image: archlinux:base-devel | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
sudo pacman -Syyuu --noconfirm --needed clang cmake rust avahi cuda ffmpeg gcc-libs glibc libpulse nvidia-utils openssl opus | |
- name: Build | |
run: | | |
source /etc/profile | |
cargo build --verbose | |
shell: bash | |
- name: Run tests | |
run: | | |
source /etc/profile | |
cargo test --verbose | |
shell: bash | |
- name: Machete | |
uses: bnjbvr/cargo-machete@main |