aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
authorpml68 <contact@pml68.dev>2025-03-30 16:24:46 +0200
committerpml68 <contact@pml68.dev>2025-03-30 16:24:46 +0200
commitb86e2076d759c3726b4406abbd61290fd41581ce (patch)
treec1d184ffc89151017a18f72104d891489196c1ef /.github/workflows/ci.yml
downloadiced_dialog-b86e2076d759c3726b4406abbd61290fd41581ce.tar.gz
feat: initial commit
Diffstat (limited to '')
-rw-r--r--.github/workflows/ci.yml21
1 files changed, 21 insertions, 0 deletions
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