From 71d616ad9ebe982a474bcef34e3f54a53c4a0ed9 Mon Sep 17 00:00:00 2001 From: Kendall Weihe Date: Mon, 29 Apr 2024 09:16:03 -0400 Subject: [PATCH] Initial ci.yml (WIP) --- .github/workflows/ci.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 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 00000000..58e1549c --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,32 @@ +name: CI + +on: + push: + branches: + - main + - kendall/github-ci # TODO remove! + pull_request: + branches: + - '*' + +env: + CARGO_TERM_COLOR: always + # Make sure CI fails on all warnings, including Clippy lints + RUSTFLAGS: "-Dwarnings" + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Init Hermit + uses: cashapp/activate-hermit@v1 + with: + cache: true + - name: Build + run: just build + + # test: + # # ... + # lint: + # # ...