-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'coq-8.17-updates-8.16' into coq-8.18
- Loading branch information
Showing
83 changed files
with
10,028 additions
and
3,107 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
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,199 @@ | ||
jobs: | ||
coq: | ||
needs: [] | ||
runs-on: macos-latest | ||
concurrency: | ||
group: ${{ github.workflow }}-MacOS-coq-${{ github.event_name }}-${{ github.head_ref || github.run_id }} | ||
cancel-in-progress: true | ||
steps: | ||
- name: Determine which commit to test | ||
run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{\ | ||
\ github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{\ | ||
\ github.event.repository.html_url }} refs/pull/${{ github.event.number }}/merge\ | ||
\ | cut -f1)\n if [ -z \"$merge_commit\" ]; then\n echo \"tested_commit=${{\ | ||
\ github.event.pull_request.head.sha }}\" >> $GITHUB_ENV\n else\n echo\ | ||
\ \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n fi\nfi\n" | ||
- name: Git checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
ref: ${{ env.tested_commit }} | ||
- name: Cachix install | ||
<<<<<<<< HEAD:.github/workflows/nix-action-coq-dev-macos.yml | ||
uses: cachix/install-nix-action@v22 | ||
======== | ||
uses: cachix/install-nix-action@v23 | ||
>>>>>>>> coq-8.17-updates-8.16:.github/nix-action-coq-8.17-macos.yml | ||
with: | ||
nix_path: nixpkgs=channel:nixpkgs-unstable | ||
- name: Cachix setup metacoq | ||
uses: cachix/cachix-action@v12 | ||
with: | ||
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} | ||
extraPullNames: coq, coq-community | ||
name: metacoq | ||
- id: stepCheck | ||
name: Checking presence of CI target coq | ||
run: "nb_dry_run=$(NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr\ | ||
\ bundle \"coq-dev\" --argstr job \"coq\" \\\n --dry-run 2>&1 > /dev/null)\n\ | ||
echo $nb_dry_run\necho ::set-output name=status::$(echo $nb_dry_run | grep\ | ||
\ \"built:\" | sed \"s/.*/built/\")\n" | ||
- if: steps.stepCheck.outputs.status == 'built' | ||
name: Building/fetching current CI target | ||
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-dev" | ||
--argstr job "coq" | ||
equations: | ||
needs: | ||
- coq | ||
runs-on: macos-latest | ||
concurrency: | ||
group: ${{ github.workflow }}-MacOS-equations-${{ github.event_name }}-${{ github.head_ref || github.run_id }} | ||
cancel-in-progress: true | ||
steps: | ||
- name: Determine which commit to test | ||
run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{\ | ||
\ github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{\ | ||
\ github.event.repository.html_url }} refs/pull/${{ github.event.number }}/merge\ | ||
\ | cut -f1)\n if [ -z \"$merge_commit\" ]; then\n echo \"tested_commit=${{\ | ||
\ github.event.pull_request.head.sha }}\" >> $GITHUB_ENV\n else\n echo\ | ||
\ \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n fi\nfi\n" | ||
- name: Git checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
ref: ${{ env.tested_commit }} | ||
- name: Cachix install | ||
<<<<<<<< HEAD:.github/workflows/nix-action-coq-dev-macos.yml | ||
uses: cachix/install-nix-action@v22 | ||
======== | ||
uses: cachix/install-nix-action@v23 | ||
>>>>>>>> coq-8.17-updates-8.16:.github/nix-action-coq-8.17-macos.yml | ||
with: | ||
nix_path: nixpkgs=channel:nixpkgs-unstable | ||
- name: Cachix setup metacoq | ||
uses: cachix/cachix-action@v12 | ||
with: | ||
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} | ||
extraPullNames: coq, coq-community | ||
name: metacoq | ||
- id: stepCheck | ||
name: Checking presence of CI target equations | ||
run: "nb_dry_run=$(NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr\ | ||
\ bundle \"coq-dev\" --argstr job \"equations\" \\\n --dry-run 2>&1 > /dev/null)\n\ | ||
echo $nb_dry_run\necho ::set-output name=status::$(echo $nb_dry_run | grep\ | ||
\ \"built:\" | sed \"s/.*/built/\")\n" | ||
- if: steps.stepCheck.outputs.status == 'built' | ||
name: 'Building/fetching previous CI target: coq' | ||
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-dev" | ||
--argstr job "coq" | ||
- if: steps.stepCheck.outputs.status == 'built' | ||
name: Building/fetching current CI target | ||
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-dev" | ||
--argstr job "equations" | ||
metacoq: | ||
needs: | ||
- coq | ||
- equations | ||
runs-on: macos-latest | ||
concurrency: | ||
group: ${{ github.workflow }}-MacOS-metacoq-${{ github.event_name }}-${{ github.head_ref || github.run_id }} | ||
cancel-in-progress: true | ||
steps: | ||
- name: Determine which commit to test | ||
run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{\ | ||
\ github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{\ | ||
\ github.event.repository.html_url }} refs/pull/${{ github.event.number }}/merge\ | ||
\ | cut -f1)\n if [ -z \"$merge_commit\" ]; then\n echo \"tested_commit=${{\ | ||
\ github.event.pull_request.head.sha }}\" >> $GITHUB_ENV\n else\n echo\ | ||
\ \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n fi\nfi\n" | ||
- name: Git checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
ref: ${{ env.tested_commit }} | ||
- name: Cachix install | ||
<<<<<<<< HEAD:.github/workflows/nix-action-coq-dev-macos.yml | ||
uses: cachix/install-nix-action@v22 | ||
======== | ||
uses: cachix/install-nix-action@v23 | ||
>>>>>>>> coq-8.17-updates-8.16:.github/nix-action-coq-8.17-macos.yml | ||
with: | ||
nix_path: nixpkgs=channel:nixpkgs-unstable | ||
- name: Cachix setup metacoq | ||
uses: cachix/cachix-action@v12 | ||
with: | ||
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} | ||
extraPullNames: coq, coq-community | ||
name: metacoq | ||
- id: stepCheck | ||
name: Checking presence of CI target metacoq | ||
run: "nb_dry_run=$(NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr\ | ||
\ bundle \"coq-dev\" --argstr job \"metacoq\" \\\n --dry-run 2>&1 > /dev/null)\n\ | ||
echo $nb_dry_run\necho ::set-output name=status::$(echo $nb_dry_run | grep\ | ||
\ \"built:\" | sed \"s/.*/built/\")\n" | ||
- if: steps.stepCheck.outputs.status == 'built' | ||
name: 'Building/fetching previous CI target: coq' | ||
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-dev" | ||
--argstr job "coq" | ||
- if: steps.stepCheck.outputs.status == 'built' | ||
name: 'Building/fetching previous CI target: equations' | ||
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-dev" | ||
--argstr job "equations" | ||
- if: steps.stepCheck.outputs.status == 'built' | ||
name: 'Building/fetching previous CI target: metacoq-utils' | ||
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-dev" | ||
--argstr job "metacoq-utils" | ||
- if: steps.stepCheck.outputs.status == 'built' | ||
name: 'Building/fetching previous CI target: metacoq-common' | ||
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-dev" | ||
--argstr job "metacoq-common" | ||
- if: steps.stepCheck.outputs.status == 'built' | ||
name: 'Building/fetching previous CI target: metacoq-template-coq' | ||
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-dev" | ||
--argstr job "metacoq-template-coq" | ||
- if: steps.stepCheck.outputs.status == 'built' | ||
name: 'Building/fetching previous CI target: metacoq-pcuic' | ||
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-dev" | ||
--argstr job "metacoq-pcuic" | ||
- if: steps.stepCheck.outputs.status == 'built' | ||
name: 'Building/fetching previous CI target: metacoq-safechecker' | ||
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-dev" | ||
--argstr job "metacoq-safechecker" | ||
- if: steps.stepCheck.outputs.status == 'built' | ||
name: 'Building/fetching previous CI target: metacoq-template-pcuic' | ||
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-dev" | ||
--argstr job "metacoq-template-pcuic" | ||
- if: steps.stepCheck.outputs.status == 'built' | ||
name: 'Building/fetching previous CI target: metacoq-erasure' | ||
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-dev" | ||
--argstr job "metacoq-erasure" | ||
- if: steps.stepCheck.outputs.status == 'built' | ||
name: 'Building/fetching previous CI target: metacoq-quotation' | ||
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-dev" | ||
--argstr job "metacoq-quotation" | ||
- if: steps.stepCheck.outputs.status == 'built' | ||
name: 'Building/fetching previous CI target: metacoq-safechecker-plugin' | ||
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-dev" | ||
--argstr job "metacoq-safechecker-plugin" | ||
- if: steps.stepCheck.outputs.status == 'built' | ||
name: 'Building/fetching previous CI target: metacoq-erasure-plugin' | ||
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-dev" | ||
--argstr job "metacoq-erasure-plugin" | ||
- if: steps.stepCheck.outputs.status == 'built' | ||
name: Building/fetching current CI target | ||
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-dev" | ||
--argstr job "metacoq" | ||
name: Nix CI for bundle coq-dev | ||
'on': | ||
pull_request: | ||
paths: | ||
- .github/workflows/** | ||
pull_request_target: | ||
types: | ||
- opened | ||
- synchronize | ||
- reopened | ||
push: | ||
branches: | ||
- main | ||
- coq-dev |
Oops, something went wrong.