From 9043273c0f0aa2292e3b57e072a92184f3435ee2 Mon Sep 17 00:00:00 2001 From: Pierre Fenoll Date: Wed, 23 Mar 2022 01:08:48 +0100 Subject: [PATCH] setup ci Signed-off-by: Pierre Fenoll --- .github/workflows/ci.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..fe24186 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,21 @@ +on: [push] + +name: CI + +jobs: + build_and_test: + name: Test + runs-on: ubuntu-latest + steps: + - name: Install + run: sudo apt install libxcb-composite0-dev + + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + + - uses: actions/checkout@v2 + + - uses: actions-rs/cargo@v1 + with: + command: test