From a51c3afcc735180aca88a48239d09991e18bbdd7 Mon Sep 17 00:00:00 2001 From: pml68 Date: Sun, 30 Mar 2025 16:24:46 +0200 Subject: feat: initial commit --- .github/workflows/ci.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/ci.yml (limited to '.github') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..daff1be --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,21 @@ +name: CI +on: [push, pull_request] +jobs: + ci: + runs-on: ubuntu-latest + steps: + - uses: hecrj/setup-rust-action@v2 + with: + components: clippy + - uses: actions/checkout@master + - name: Install dependencies + run: | + export DEBIAN_FRONTED=noninteractive + sudo apt-get -qq update + sudo apt-get install -y libxkbcommon-dev + - name: Check lints + run: cargo lint + - name: Run tests + run: cargo test --verbose + - name: Build example + run: cargo build -p example -- cgit v1.2.3