Skip to content
This repository has been archived by the owner on Aug 29, 2024. It is now read-only.

Commit

Permalink
feat: use lean-action
Browse files Browse the repository at this point in the history
  • Loading branch information
hargoniX committed Jul 3, 2024
1 parent 3982567 commit cb28843
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,20 @@ jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: install elan
run: |
set -o pipefail
curl -sSfL https://github.com/leanprover/elan/releases/download/v1.4.2/elan-x86_64-unknown-linux-gnu.tar.gz | tar xz
./elan-init -y --default-toolchain none
echo "$HOME/.elan/bin" >> $GITHUB_PATH

steps:
- uses: DeterminateSystems/nix-installer-action@main

- name: install cadical
run: nix profile install nixpkgs#cadical

- uses: actions/checkout@v4

- name: build
id: build
run: lake build

- name: test
if: steps.build.outcome == 'success'
run: make test
- uses: leanprover/lean-action@v1-beta
with:
test: true
use-mathlib-cache: false
use-github-cache: true

- name: eval
run: make eval
Expand Down

0 comments on commit cb28843

Please sign in to comment.