Skip to content

Commit cd95195

Browse files
Trigger CI for leanprover/lean4#6190
2 parents d92372f + 606995e commit cd95195

File tree

1,254 files changed

+29882
-15205
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,254 files changed

+29882
-15205
lines changed

.github/build.in.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@
44
### NB: and regenerate those files by manually running
55
### NB: .github/workflows/mk_build_yml.sh
66

7+
env:
8+
# Disable Lake's automatic fetching of cloud builds.
9+
# Lake's cache is currently incompatible with Mathlib's `lake exe cache`.
10+
# This is because Mathlib's Cache assumes all build aritfacts present in the build directory
11+
# are valid by-products of the Mathlib build. Build artifacts fetched from Lake's cache do
12+
# not necessarily satisfy this property.
13+
LAKE_NO_CACHE: true
14+
715
jobs:
816
# Cancels previous runs of jobs in this file
917
cancel:
@@ -121,6 +129,7 @@ jobs:
121129
122130
- name: prune ProofWidgets .lake
123131
run: |
132+
lake build proofwidgets:release
124133
# The ProofWidgets release contains not just the `.js` (which we need in order to build)
125134
# but also `.oleans`, which may have been built with the wrong toolchain.
126135
# This removes them.
@@ -156,6 +165,10 @@ jobs:
156165
run: |
157166
bash -o pipefail -c "env LEAN_ABORT_ON_PANIC=1 lake build --wfail -KCI"
158167
168+
- name: print the sizes of the oleans
169+
run: |
170+
du .lake/build/lib/Mathlib || echo "This code should be unreachable"
171+
159172
- name: upload cache
160173
# We only upload the cache if the build started (whether succeeding, failing, or cancelled)
161174
# but not if any earlier step failed or was cancelled.
@@ -266,7 +279,7 @@ jobs:
266279
with:
267280
linters: gcc
268281
run:
269-
lake test
282+
lake --iofail test
270283

271284
- name: check for unused imports
272285
id: shake

.github/workflows/PR_summary.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55

66
jobs:
77
build:
8+
name: "post-or-update-summary-comment"
89
runs-on: ubuntu-latest
910

1011
steps:

.github/workflows/add_label_from_comment.yml

Lines changed: 0 additions & 60 deletions
This file was deleted.

.github/workflows/add_label_from_review.yml

Lines changed: 0 additions & 62 deletions
This file was deleted.

.github/workflows/add_label_from_review_comment.yml

Lines changed: 0 additions & 62 deletions
This file was deleted.

.github/workflows/bench_summary_comment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
run: |
2828
{
2929
cat scripts/bench_summary.lean
30-
printf $'run_cmd BenchAction.addBenchSummaryComment %s "leanprover-community/mathlib4"' "${PR}"
30+
printf $'run_cmd BenchAction.addBenchSummaryComment %s "leanprover-community/mathlib4" %s' "${PR}" "${{ github.run_id }}"
3131
} |
3232
lake env lean --stdin
3333
env:

.github/workflows/bors.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ on:
1414

1515
name: continuous integration (staging)
1616

17+
env:
18+
# Disable Lake's automatic fetching of cloud builds.
19+
# Lake's cache is currently incompatible with Mathlib's `lake exe cache`.
20+
# This is because Mathlib's Cache assumes all build aritfacts present in the build directory
21+
# are valid by-products of the Mathlib build. Build artifacts fetched from Lake's cache do
22+
# not necessarily satisfy this property.
23+
LAKE_NO_CACHE: true
24+
1725
jobs:
1826
# Cancels previous runs of jobs in this file
1927
cancel:
@@ -131,6 +139,7 @@ jobs:
131139
132140
- name: prune ProofWidgets .lake
133141
run: |
142+
lake build proofwidgets:release
134143
# The ProofWidgets release contains not just the `.js` (which we need in order to build)
135144
# but also `.oleans`, which may have been built with the wrong toolchain.
136145
# This removes them.
@@ -166,6 +175,10 @@ jobs:
166175
run: |
167176
bash -o pipefail -c "env LEAN_ABORT_ON_PANIC=1 lake build --wfail -KCI"
168177
178+
- name: print the sizes of the oleans
179+
run: |
180+
du .lake/build/lib/Mathlib || echo "This code should be unreachable"
181+
169182
- name: upload cache
170183
# We only upload the cache if the build started (whether succeeding, failing, or cancelled)
171184
# but not if any earlier step failed or was cancelled.
@@ -276,7 +289,7 @@ jobs:
276289
with:
277290
linters: gcc
278291
run:
279-
lake test
292+
lake --iofail test
280293

281294
- name: check for unused imports
282295
id: shake

.github/workflows/build.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,14 @@ on:
2121

2222
name: continuous integration
2323

24+
env:
25+
# Disable Lake's automatic fetching of cloud builds.
26+
# Lake's cache is currently incompatible with Mathlib's `lake exe cache`.
27+
# This is because Mathlib's Cache assumes all build aritfacts present in the build directory
28+
# are valid by-products of the Mathlib build. Build artifacts fetched from Lake's cache do
29+
# not necessarily satisfy this property.
30+
LAKE_NO_CACHE: true
31+
2432
jobs:
2533
# Cancels previous runs of jobs in this file
2634
cancel:
@@ -138,6 +146,7 @@ jobs:
138146
139147
- name: prune ProofWidgets .lake
140148
run: |
149+
lake build proofwidgets:release
141150
# The ProofWidgets release contains not just the `.js` (which we need in order to build)
142151
# but also `.oleans`, which may have been built with the wrong toolchain.
143152
# This removes them.
@@ -173,6 +182,10 @@ jobs:
173182
run: |
174183
bash -o pipefail -c "env LEAN_ABORT_ON_PANIC=1 lake build --wfail -KCI"
175184
185+
- name: print the sizes of the oleans
186+
run: |
187+
du .lake/build/lib/Mathlib || echo "This code should be unreachable"
188+
176189
- name: upload cache
177190
# We only upload the cache if the build started (whether succeeding, failing, or cancelled)
178191
# but not if any earlier step failed or was cancelled.
@@ -283,7 +296,7 @@ jobs:
283296
with:
284297
linters: gcc
285298
run:
286-
lake test
299+
lake --iofail test
287300

288301
- name: check for unused imports
289302
id: shake

.github/workflows/build_fork.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@ on:
1818

1919
name: continuous integration (mathlib forks)
2020

21+
env:
22+
# Disable Lake's automatic fetching of cloud builds.
23+
# Lake's cache is currently incompatible with Mathlib's `lake exe cache`.
24+
# This is because Mathlib's Cache assumes all build aritfacts present in the build directory
25+
# are valid by-products of the Mathlib build. Build artifacts fetched from Lake's cache do
26+
# not necessarily satisfy this property.
27+
LAKE_NO_CACHE: true
28+
2129
jobs:
2230
# Cancels previous runs of jobs in this file
2331
cancel:
@@ -135,6 +143,7 @@ jobs:
135143
136144
- name: prune ProofWidgets .lake
137145
run: |
146+
lake build proofwidgets:release
138147
# The ProofWidgets release contains not just the `.js` (which we need in order to build)
139148
# but also `.oleans`, which may have been built with the wrong toolchain.
140149
# This removes them.
@@ -170,6 +179,10 @@ jobs:
170179
run: |
171180
bash -o pipefail -c "env LEAN_ABORT_ON_PANIC=1 lake build --wfail -KCI"
172181
182+
- name: print the sizes of the oleans
183+
run: |
184+
du .lake/build/lib/Mathlib || echo "This code should be unreachable"
185+
173186
- name: upload cache
174187
# We only upload the cache if the build started (whether succeeding, failing, or cancelled)
175188
# but not if any earlier step failed or was cancelled.
@@ -280,7 +293,7 @@ jobs:
280293
with:
281294
linters: gcc
282295
run:
283-
lake test
296+
lake --iofail test
284297

285298
- name: check for unused imports
286299
id: shake

0 commit comments

Comments
 (0)