Skip to content

Commit

Permalink
Create initial CI (#2)
Browse files Browse the repository at this point in the history
We don't deny warnings in CI because we currently have warnings.

Once #1 lands, we can enforce cleanliness from warnings

See also linebender/glazier@d0b9e19
as we only use windows at the moment
  • Loading branch information
DJMcNab authored Nov 17, 2022
1 parent d62cfc4 commit 7fce02f
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 7fce02f

Please sign in to comment.