-
Notifications
You must be signed in to change notification settings - Fork 446
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into fewer-expr-copies
- Loading branch information
Showing
861 changed files
with
530,595 additions
and
451,529 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -298,8 +298,8 @@ jobs: | |
uses: msys2/setup-msys2@v2 | ||
with: | ||
msystem: clang64 | ||
# `:p` means prefix with appropriate msystem prefix | ||
pacboy: "make python cmake:p clang:p ccache:p gmp:p git zip unzip diffutils binutils tree zstd:p tar" | ||
# `:` means do not prefix with msystem | ||
pacboy: "make: python: cmake clang ccache gmp git: zip: unzip: diffutils: binutils: tree: zstd tar:" | ||
if: runner.os == 'Windows' | ||
- name: Install Brew Packages | ||
run: | | ||
|
@@ -426,7 +426,7 @@ jobs: | |
if: matrix.test-speedcenter | ||
- name: Check Stage 3 | ||
run: | | ||
make -C build -j$NPROC stage3 | ||
make -C build -j$NPROC check-stage3 | ||
if: matrix.test-speedcenter | ||
- name: Test Speedcenter Benchmarks | ||
run: | | ||
|
@@ -455,12 +455,24 @@ jobs: | |
# mark as merely cancelled not failed if builds are cancelled | ||
if: ${{ !cancelled() }} | ||
steps: | ||
- if: ${{ contains(needs.*.result, 'failure') && github.repository == 'leanprover/lean4' && github.ref_name == 'master' }} | ||
uses: zulip/github-actions-zulip/send-message@v1 | ||
with: | ||
api-key: ${{ secrets.ZULIP_BOT_KEY }} | ||
email: "[email protected]" | ||
organization-url: "https://lean-fro.zulipchat.com" | ||
to: "infrastructure" | ||
topic: "Github actions" | ||
type: "stream" | ||
content: | | ||
A build of `${{ github.ref_name }}`, triggered by event `${{ github.event_name }}`, [failed](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}). | ||
- if: contains(needs.*.result, 'failure') | ||
uses: actions/github-script@v7 | ||
with: | ||
script: | | ||
core.setFailed('Some jobs failed') | ||
# This job creates releases from tags | ||
# (whether they are "unofficial" releases for experiments, or official releases when the tag is "v" followed by a semver string.) | ||
# We do not attempt to automatically construct a changelog here: | ||
|
@@ -533,3 +545,8 @@ jobs: | |
gh workflow -R leanprover/release-index run update-index.yml | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.RELEASE_INDEX_TOKEN }} | ||
- name: Update toolchain on mathlib4's nightly-testing branch | ||
run: | | ||
gh workflow -R leanprover-community/mathlib4 run nightly_bump_toolchain.yml | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.MATHLIB4_BOT }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Jira sync | ||
|
||
on: | ||
issues: | ||
types: [closed] | ||
|
||
jobs: | ||
jira-sync: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Move Jira issue to Done | ||
env: | ||
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }} | ||
JIRA_USERNAME: ${{ secrets.JIRA_USERNAME }} | ||
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }} | ||
run: | | ||
issue_number=${{ github.event.issue.number }} | ||
jira_issue_key=$(curl -s -u "${JIRA_USERNAME}:${JIRA_API_TOKEN}" \ | ||
-X GET -H "Content-Type: application/json" \ | ||
"${JIRA_BASE_URL}/rest/api/2/search?jql=summary~\"${issue_number}\"" | \ | ||
jq -r '.issues[0].key') | ||
if [ -z "$jira_issue_key" ]; then | ||
exit | ||
fi | ||
curl -s -u "${JIRA_USERNAME}:${JIRA_API_TOKEN}" \ | ||
-X POST -H "Content-Type: application/json" \ | ||
--data "{\"transition\": {\"id\": \"41\"}}" \ | ||
"${JIRA_BASE_URL}/rest/api/2/issue/${jira_issue_key}/transitions" | ||
echo "Moved Jira issue ${jira_issue_key} to Done" |
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
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
Oops, something went wrong.