Skip to content

Commit

Permalink
Merge pull request #119 from lean-dojo/Peiyang-Song-patch-1
Browse files Browse the repository at this point in the history
Fix CI
  • Loading branch information
Peiyang-Song authored Aug 29, 2024
2 parents 44bfde7 + c4d7e11 commit 9912da6
Showing 1 changed file with 4 additions and 24 deletions.
28 changes: 4 additions & 24 deletions .github/workflows/push_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
name: Build
steps:
- name: Checkout project
Expand All @@ -32,26 +35,3 @@ jobs:
~/.elan/bin/lake exe LeanCopilot/download
- name: Build tests
run: ~/.elan/bin/lake build LeanCopilotTests -v -U
test_external:
needs: build
runs-on: ubuntu-latest
name: Test external
steps:
- name: Set up elan
run: curl https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh -sSf | sh -s -- -y
- name: Get lean4-example
run: |
git clone https://github.com/yangky11/lean4-example
cd lean4-example
git checkout LeanCopilot-demo
- name: Install Git LFS
run: |
cd lean4-example
git lfs update --force
git lfs install
- name: Build lean4-example
run: |
cd lean4-example
export GIT_CLONE_PROTECTION_ACTIVE=false
~/.elan/bin/lake exe LeanCopilot/download
~/.elan/bin/lake build -v -U

0 comments on commit 9912da6

Please sign in to comment.