Create initial CI (#2)

We don't deny warnings in CI because we currently have warnings.

Once #1 lands, we can enforce cleanliness from warnings

See also d0b9e1905c
as we only use windows at the moment
This commit is contained in:
Daniel McNab 2022-11-17 09:30:42 +00:00 committed by GitHub
parent d62cfc4e66
commit 7fce02fd41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 0 deletions

25
.github/workflows/rust.yml vendored Normal file
View File

@ -0,0 +1,25 @@
name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
check:
runs-on: windows-2019
steps:
- name: install libx11-dev
run: |
sudo apt update
sudo apt install libx11-dev libpango1.0-dev libxkbcommon-dev libxkbcommon-x11-dev
if: runner.os == 'Linux'
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- name: Check
run: cargo check