Files
lan-mouse/.github/workflows/rust.yml
Ferdinand Schober 5c9b75ecb2 Update rust.yml
Add x11 build dependencies
2023-02-13 18:08:19 +01:00

27 lines
442 B
YAML

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: install dependencies
run: |
sudo apt-get update
sudo apt-get install libx11-dev libxtst-dev
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose