Skip to content

Commit 9912da6

Browse files
authored
Merge pull request #119 from lean-dojo/Peiyang-Song-patch-1
Fix CI
2 parents 44bfde7 + c4d7e11 commit 9912da6

File tree

1 file changed

+4
-24
lines changed

1 file changed

+4
-24
lines changed

.github/workflows/push_pr.yml

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ on:
1111

1212
jobs:
1313
build:
14-
runs-on: ubuntu-latest
14+
runs-on: ${{ matrix.os }}
15+
strategy:
16+
matrix:
17+
os: [ubuntu-latest, macos-latest]
1518
name: Build
1619
steps:
1720
- name: Checkout project
@@ -32,26 +35,3 @@ jobs:
3235
~/.elan/bin/lake exe LeanCopilot/download
3336
- name: Build tests
3437
run: ~/.elan/bin/lake build LeanCopilotTests -v -U
35-
test_external:
36-
needs: build
37-
runs-on: ubuntu-latest
38-
name: Test external
39-
steps:
40-
- name: Set up elan
41-
run: curl https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh -sSf | sh -s -- -y
42-
- name: Get lean4-example
43-
run: |
44-
git clone https://github.com/yangky11/lean4-example
45-
cd lean4-example
46-
git checkout LeanCopilot-demo
47-
- name: Install Git LFS
48-
run: |
49-
cd lean4-example
50-
git lfs update --force
51-
git lfs install
52-
- name: Build lean4-example
53-
run: |
54-
cd lean4-example
55-
export GIT_CLONE_PROTECTION_ACTIVE=false
56-
~/.elan/bin/lake exe LeanCopilot/download
57-
~/.elan/bin/lake build -v -U

0 commit comments

Comments
 (0)