Skip to content

Commit 4a8ba99

Browse files
committed
[CI] Update Nix toolbox
1 parent fc9741b commit 4a8ba99

File tree

5 files changed

+1
-193
lines changed

5 files changed

+1
-193
lines changed

.github/workflows/nix-action-coq-8.20.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -376,10 +376,6 @@ jobs:
376376
name: 'Building/fetching previous CI target: bignums'
377377
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-8.20"
378378
--argstr job "bignums"
379-
- if: steps.stepCheck.outputs.status == 'built'
380-
name: 'Building/fetching previous CI target: paramcoq'
381-
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-8.20"
382-
--argstr job "paramcoq"
383379
- if: steps.stepCheck.outputs.status == 'built'
384380
name: 'Building/fetching previous CI target: multinomials'
385381
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-8.20"

.github/workflows/nix-action-coq-master.yml

Lines changed: 0 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,6 @@ jobs:
246246
- coq
247247
- mathcomp-algebra
248248
- bignums
249-
- paramcoq
250249
- multinomials
251250
- mathcomp-real-closed
252251
runs-on: ubuntu-latest
@@ -308,10 +307,6 @@ jobs:
308307
name: 'Building/fetching previous CI target: bignums'
309308
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-master"
310309
--argstr job "bignums"
311-
- if: steps.stepCheck.outputs.status == 'built'
312-
name: 'Building/fetching previous CI target: paramcoq'
313-
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-master"
314-
--argstr job "paramcoq"
315310
- if: steps.stepCheck.outputs.status == 'built'
316311
name: 'Building/fetching previous CI target: multinomials'
317312
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-master"
@@ -1980,64 +1975,6 @@ jobs:
19801975
name: Building/fetching current CI target
19811976
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-master"
19821977
--argstr job "odd-order"
1983-
paramcoq:
1984-
needs:
1985-
- coq
1986-
runs-on: ubuntu-latest
1987-
steps:
1988-
- name: Determine which commit to initially checkout
1989-
run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
1990-
github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
1991-
}}\" >> $GITHUB_ENV\nfi\n"
1992-
- name: Git checkout
1993-
uses: actions/checkout@v4
1994-
with:
1995-
fetch-depth: 0
1996-
ref: ${{ env.target_commit }}
1997-
- name: Determine which commit to test
1998-
run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
1999-
github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
2000-
}} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
2001-
merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
2002-
2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
2003-
\ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
2004-
}}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
2005-
\ fi\nfi\n"
2006-
- name: Git checkout
2007-
uses: actions/checkout@v4
2008-
with:
2009-
fetch-depth: 0
2010-
ref: ${{ env.tested_commit }}
2011-
- name: Cachix install
2012-
uses: cachix/install-nix-action@v30
2013-
with:
2014-
nix_path: nixpkgs=channel:nixpkgs-unstable
2015-
- name: Cachix setup math-comp
2016-
uses: cachix/cachix-action@v15
2017-
with:
2018-
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
2019-
extraPullNames: coq, coq-community
2020-
name: math-comp
2021-
- id: stepGetDerivation
2022-
name: Getting derivation for current job (paramcoq)
2023-
run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
2024-
\"coq-master\" --argstr job \"paramcoq\" \\\n --dry-run 2> err > out ||
2025-
(touch fail; true)\n"
2026-
- name: Error reporting
2027-
run: "echo \"out=\"; cat out\necho \"err=\"; cat err\n"
2028-
- name: Failure check
2029-
run: if [ -e fail ]; then exit 1; else exit 0; fi;
2030-
- id: stepCheck
2031-
name: Checking presence of CI target for current job
2032-
run: (echo -n status=; cat out err | grep "built:" | sed "s/.*/built/") >> $GITHUB_OUTPUT
2033-
- if: steps.stepCheck.outputs.status == 'built'
2034-
name: 'Building/fetching previous CI target: coq'
2035-
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-master"
2036-
--argstr job "coq"
2037-
- if: steps.stepCheck.outputs.status == 'built'
2038-
name: Building/fetching current CI target
2039-
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-master"
2040-
--argstr job "paramcoq"
20411978
reglang:
20421979
needs:
20431980
- coq

.nix/config.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
coq-elpi.override.version = "master";
2929
coq-elpi.override.elpi-version = "2.0.7";
3030
bignums.override.version = "master";
31-
paramcoq.override.version = "master";
3231
};
3332

3433
"coq-9.0".coqPackages = mcHBcommon // {

.nix/coq-nix-toolbox.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"513125b0f59fa52c3919c5f2bdc63077d341b18a"
1+
"d914139ccc501c967eb97ea995f9765f4094d228"

.nix/coq-overlays/coqeal/default.nix

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

0 commit comments

Comments
 (0)