From 6a67a77bda7b5892c6b14662e6629d1716f0cc91 Mon Sep 17 00:00:00 2001 From: David Thrane Christiansen Date: Wed, 6 Dec 2023 12:09:38 +0100 Subject: [PATCH] chore: setup CI --- .github/workflows/ci.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 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..007ec1e --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,28 @@ +on: + push: + pull_request: + +name: continuous integration + +jobs: + build: + name: test + runs-on: ubuntu-latest + steps: + - name: install elan + run: | + set -o pipefail + curl -sSfL https://github.com/leanprover/elan/releases/download/v3.0.0/elan-x86_64-unknown-linux-gnu.tar.gz | tar xz + ./elan-init -y --default-toolchain none + echo "$HOME/.elan/bin" >> $GITHUB_PATH + + - uses: actions/checkout@v3 + + - name: lean version + run: | + lean --version + + - name: build + run: | + lake build +