mirror of https://github.com/linebender/xilem
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:
parent
d62cfc4e66
commit
7fce02fd41
|
@ -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
|
Loading…
Reference in New Issue