From a66bf139141c8b1d399e51debaa76d052ee634fa Mon Sep 17 00:00:00 2001 From: Sharun Date: Mon, 13 Jan 2025 10:16:23 -0800 Subject: [PATCH] chore: add CI workflow for pull requests and pushes to master --- .github/workflows/ci.yml | 18 ++++++++++++++++++ 1 file changed, 18 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..d03ddf8 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,18 @@ +name: CI + +on: + pull_request: + branches: + - master + push: + branches: + - master + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: Swatinem/rust-cache@v2 + - run: sudo apt install libdbus-1-dev pkg-config + - run: cargo build --release