@@ -1439,10 +1439,11 @@ jobs:
1439
1439
name : Building/fetching current CI target
1440
1440
run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-master"
1441
1441
--argstr job "coquelicot"
1442
- coqutil :
1442
+ corn :
1443
1443
needs :
1444
1444
- coq
1445
- - stdlib
1445
+ - bignums
1446
+ - math-classes
1446
1447
runs-on : ubuntu-latest
1447
1448
steps :
1448
1449
- name : Determine which commit to initially checkout
@@ -1479,28 +1480,31 @@ jobs:
1479
1480
extraPullNames : coq, math-comp
1480
1481
name : coq-community
1481
1482
- id : stepCheck
1482
- name : Checking presence of CI target coqutil
1483
+ name : Checking presence of CI target corn
1483
1484
run : " nb_dry_run=$(NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr\
1484
- \ bundle \" coq-master\" --argstr job \" coqutil \" \\\n --dry-run 2>&1 > /dev/null)\n \
1485
+ \ bundle \" coq-master\" --argstr job \" corn \" \\\n --dry-run 2>&1 > /dev/null)\n \
1485
1486
echo $nb_dry_run\n echo status=$(echo $nb_dry_run | grep \" built:\" | sed \" \
1486
1487
s/.*/built/\" ) >> $GITHUB_OUTPUT\n "
1487
1488
- if : steps.stepCheck.outputs.status == 'built'
1488
1489
name : ' Building/fetching previous CI target: coq'
1489
1490
run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-master"
1490
1491
--argstr job "coq"
1491
1492
- if : steps.stepCheck.outputs.status == 'built'
1492
- name : ' Building/fetching previous CI target: stdlib '
1493
+ name : ' Building/fetching previous CI target: bignums '
1493
1494
run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-master"
1494
- --argstr job "stdlib"
1495
+ --argstr job "bignums"
1496
+ - if : steps.stepCheck.outputs.status == 'built'
1497
+ name : ' Building/fetching previous CI target: math-classes'
1498
+ run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-master"
1499
+ --argstr job "math-classes"
1495
1500
- if : steps.stepCheck.outputs.status == 'built'
1496
1501
name : Building/fetching current CI target
1497
1502
run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-master"
1498
- --argstr job "coqutil "
1499
- corn :
1503
+ --argstr job "corn "
1504
+ deriving :
1500
1505
needs :
1501
1506
- coq
1502
- - bignums
1503
- - math-classes
1507
+ - mathcomp-ssreflect
1504
1508
runs-on : ubuntu-latest
1505
1509
steps :
1506
1510
- name : Determine which commit to initially checkout
@@ -1537,31 +1541,26 @@ jobs:
1537
1541
extraPullNames : coq, math-comp
1538
1542
name : coq-community
1539
1543
- id : stepCheck
1540
- name : Checking presence of CI target corn
1544
+ name : Checking presence of CI target deriving
1541
1545
run : " nb_dry_run=$(NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr\
1542
- \ bundle \" coq-master\" --argstr job \" corn \" \\\n --dry-run 2>&1 > /dev/null) \n \
1543
- echo $nb_dry_run\n echo status=$(echo $nb_dry_run | grep \" built:\" | sed \" \
1544
- s/.*/built/\" ) >> $GITHUB_OUTPUT\n "
1546
+ \ bundle \" coq-master\" --argstr job \" deriving \" \\\n --dry-run 2>&1 >\
1547
+ \ /dev/null) \n echo $nb_dry_run\n echo status=$(echo $nb_dry_run | grep \" built:\" \
1548
+ \ | sed \" s/.*/built/\" ) >> $GITHUB_OUTPUT\n "
1545
1549
- if : steps.stepCheck.outputs.status == 'built'
1546
1550
name : ' Building/fetching previous CI target: coq'
1547
1551
run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-master"
1548
1552
--argstr job "coq"
1549
1553
- if : steps.stepCheck.outputs.status == 'built'
1550
- name : ' Building/fetching previous CI target: bignums'
1551
- run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-master"
1552
- --argstr job "bignums"
1553
- - if : steps.stepCheck.outputs.status == 'built'
1554
- name : ' Building/fetching previous CI target: math-classes'
1554
+ name : ' Building/fetching previous CI target: mathcomp-ssreflect'
1555
1555
run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-master"
1556
- --argstr job "math-classes "
1556
+ --argstr job "mathcomp-ssreflect "
1557
1557
- if : steps.stepCheck.outputs.status == 'built'
1558
1558
name : Building/fetching current CI target
1559
1559
run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-master"
1560
- --argstr job "corn "
1561
- deriving :
1560
+ --argstr job "deriving "
1561
+ dpdgraph :
1562
1562
needs :
1563
1563
- coq
1564
- - mathcomp-ssreflect
1565
1564
runs-on : ubuntu-latest
1566
1565
steps :
1567
1566
- name : Determine which commit to initially checkout
@@ -1598,26 +1597,23 @@ jobs:
1598
1597
extraPullNames : coq, math-comp
1599
1598
name : coq-community
1600
1599
- id : stepCheck
1601
- name : Checking presence of CI target deriving
1600
+ name : Checking presence of CI target dpdgraph
1602
1601
run : " nb_dry_run=$(NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr\
1603
- \ bundle \" coq-master\" --argstr job \" deriving \" \\\n --dry-run 2>&1 >\
1602
+ \ bundle \" coq-master\" --argstr job \" dpdgraph \" \\\n --dry-run 2>&1 >\
1604
1603
\ /dev/null)\n echo $nb_dry_run\n echo status=$(echo $nb_dry_run | grep \" built:\" \
1605
1604
\ | sed \" s/.*/built/\" ) >> $GITHUB_OUTPUT\n "
1606
1605
- if : steps.stepCheck.outputs.status == 'built'
1607
1606
name : ' Building/fetching previous CI target: coq'
1608
1607
run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-master"
1609
1608
--argstr job "coq"
1610
- - if : steps.stepCheck.outputs.status == 'built'
1611
- name : ' Building/fetching previous CI target: mathcomp-ssreflect'
1612
- run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-master"
1613
- --argstr job "mathcomp-ssreflect"
1614
1609
- if : steps.stepCheck.outputs.status == 'built'
1615
1610
name : Building/fetching current CI target
1616
1611
run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-master"
1617
- --argstr job "deriving "
1618
- dpdgraph :
1612
+ --argstr job "dpdgraph "
1613
+ engine-bench :
1619
1614
needs :
1620
1615
- coq
1616
+ - stdlib
1621
1617
runs-on : ubuntu-latest
1622
1618
steps :
1623
1619
- name : Determine which commit to initially checkout
@@ -1654,19 +1650,23 @@ jobs:
1654
1650
extraPullNames : coq, math-comp
1655
1651
name : coq-community
1656
1652
- id : stepCheck
1657
- name : Checking presence of CI target dpdgraph
1653
+ name : Checking presence of CI target engine-bench
1658
1654
run : " nb_dry_run=$(NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr\
1659
- \ bundle \" coq-master\" --argstr job \" dpdgraph \" \\\n --dry-run 2>&1 > \
1660
- \ /dev/null)\n echo $nb_dry_run\n echo status=$(echo $nb_dry_run | grep \" built: \" \
1661
- \ | sed \" s/.*/built/\" ) >> $GITHUB_OUTPUT\n "
1655
+ \ bundle \" coq-master\" --argstr job \" engine-bench \" \\\n --dry-run 2>&1\
1656
+ \ > /dev/null)\n echo $nb_dry_run\n echo status=$(echo $nb_dry_run | grep \" \
1657
+ built: \" | sed \" s/.*/built/\" ) >> $GITHUB_OUTPUT\n "
1662
1658
- if : steps.stepCheck.outputs.status == 'built'
1663
1659
name : ' Building/fetching previous CI target: coq'
1664
1660
run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-master"
1665
1661
--argstr job "coq"
1662
+ - if : steps.stepCheck.outputs.status == 'built'
1663
+ name : ' Building/fetching previous CI target: stdlib'
1664
+ run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-master"
1665
+ --argstr job "stdlib"
1666
1666
- if : steps.stepCheck.outputs.status == 'built'
1667
1667
name : Building/fetching current CI target
1668
1668
run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-master"
1669
- --argstr job "dpdgraph "
1669
+ --argstr job "engine-bench "
1670
1670
equations :
1671
1671
needs :
1672
1672
- coq
@@ -3699,6 +3699,63 @@ jobs:
3699
3699
name : Building/fetching current CI target
3700
3700
run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-master"
3701
3701
--argstr job "metacoq-template-coq"
3702
+ neural-net-coq-interp :
3703
+ needs :
3704
+ - coq
3705
+ - stdlib
3706
+ runs-on : ubuntu-latest
3707
+ steps :
3708
+ - name : Determine which commit to initially checkout
3709
+ run : " if [ ${{ github.event_name }} = \" push\" ]; then\n echo \" target_commit=${{\
3710
+ \ github.sha }}\" >> $GITHUB_ENV\n else\n echo \" target_commit=${{ github.event.pull_request.head.sha\
3711
+ \ }}\" >> $GITHUB_ENV\n fi\n "
3712
+ - name : Git checkout
3713
+ uses : actions/checkout@v3
3714
+ with :
3715
+ fetch-depth : 0
3716
+ ref : ${{ env.target_commit }}
3717
+ - name : Determine which commit to test
3718
+ run : " if [ ${{ github.event_name }} = \" push\" ]; then\n echo \" tested_commit=${{\
3719
+ \ github.sha }}\" >> $GITHUB_ENV\n else\n merge_commit=$(git ls-remote ${{\
3720
+ \ github.event.repository.html_url }} refs/pull/${{ github.event.number }}/merge\
3721
+ \ | cut -f1)\n mergeable=$(git merge --no-commit --no-ff ${{ github.event.pull_request.base.sha\
3722
+ \ }} > /dev/null 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n \
3723
+ \ if [ -z \" $merge_commit\" -o \" x$mergeable\" != \" x0\" ]; then\n echo\
3724
+ \ \" tested_commit=${{ github.event.pull_request.head.sha }}\" >> $GITHUB_ENV\n \
3725
+ \ else\n echo \" tested_commit=$merge_commit\" >> $GITHUB_ENV\n fi\n fi\n "
3726
+ - name : Git checkout
3727
+ uses : actions/checkout@v3
3728
+ with :
3729
+ fetch-depth : 0
3730
+ ref : ${{ env.tested_commit }}
3731
+ - name : Cachix install
3732
+ uses : cachix/install-nix-action@v27
3733
+ with :
3734
+ nix_path : nixpkgs=channel:nixpkgs-unstable
3735
+ - name : Cachix setup coq-community
3736
+ uses : cachix/cachix-action@v15
3737
+ with :
3738
+ authToken : ${{ secrets.CACHIX_AUTH_TOKEN }}
3739
+ extraPullNames : coq, math-comp
3740
+ name : coq-community
3741
+ - id : stepCheck
3742
+ name : Checking presence of CI target neural-net-coq-interp
3743
+ run : " nb_dry_run=$(NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr\
3744
+ \ bundle \" coq-master\" --argstr job \" neural-net-coq-interp\" \\\n --dry-run\
3745
+ \ 2>&1 > /dev/null)\n echo $nb_dry_run\n echo status=$(echo $nb_dry_run | grep\
3746
+ \ \" built:\" | sed \" s/.*/built/\" ) >> $GITHUB_OUTPUT\n "
3747
+ - if : steps.stepCheck.outputs.status == 'built'
3748
+ name : ' Building/fetching previous CI target: coq'
3749
+ run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-master"
3750
+ --argstr job "coq"
3751
+ - if : steps.stepCheck.outputs.status == 'built'
3752
+ name : ' Building/fetching previous CI target: stdlib'
3753
+ run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-master"
3754
+ --argstr job "stdlib"
3755
+ - if : steps.stepCheck.outputs.status == 'built'
3756
+ name : Building/fetching current CI target
3757
+ run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-master"
3758
+ --argstr job "neural-net-coq-interp"
3702
3759
odd-order :
3703
3760
needs :
3704
3761
- coq
0 commit comments