Syncing Proof Reconstruction #340
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: CI | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
build: | |
name: ${{ matrix.name }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
include: | |
- name: Linux | |
os: ubuntu-latest | |
steps: | |
- name: Install Elan (Linux) | |
if: matrix.os == 'ubuntu-latest' | |
run: | | |
curl https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh -sSf | sh -s -- -y | |
echo "$HOME/.elan/bin" >> $GITHUB_PATH | |
- name: Install cvc5 (Linux) | |
if: matrix.os == 'ubuntu-latest' | |
run: | | |
mkdir -p "$HOME/.local/bin" | |
curl https://github.com/HanielB/cvc5/releases/download/leanPrinter-v0.0.4/cvc5-Linux-2023-03-10-f9e30de2dd -L > "$HOME/.local/bin/cvc5" | |
chmod +x "$HOME/.local/bin/cvc5" | |
echo "$HOME/.local/bin" >> $GITHUB_PATH | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Build lean-smt | |
run: | | |
lake update | |
lake exe cache get | |
lake build +Smt:dynlib | |
- name: Test lean-smt | |
run: lake run test |