feat: build ITree in CI #220
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 QpfTypes Library 🧐 | |
run: | | |
lake -R exe cache get | |
lake -R build | |
- name: Compile Tests 🧐 | |
run: | | |
lake -R exe cache get | |
lake -R build +Test | |
- name: Compile ITree Library 🧐 | |
run: | | |
lake -R exe cache get | |
lake -R build +ITree |