Skip to content

Commit

Permalink
feat: basic CI testing
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkeizer committed Feb 20, 2024
1 parent 801eee8 commit 8c8a7eb
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: build & test
on:
push:
pull_request:
merge_group:

permissions:
contents: write

jobs:
build:
name: build and test code
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3

- name: Install elan 🕑
run: |
set -o pipefail
curl https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh -sSf | sh -s -- --default-toolchain none -y
~/.elan/bin/lean --version
echo "$HOME/.elan/bin" >> $GITHUB_PATH
- name: Compile Library 🧐
run: |
lake -R exe cache get
lake -R build
- name: Compile Tests
run: |
lake -R exe cache get
lake -R build +Test

0 comments on commit 8c8a7eb

Please sign in to comment.