Skip to content

Commit

Permalink
Update coq-windows.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonGross authored Feb 5, 2025
1 parent 356f072 commit eff6184
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/coq-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,14 @@ jobs:
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: 4.13.1
- run: Get-ChildItem -Path . -Filter "*.timing" -Recurse | Compress-Archive -DestinationPath timing-files.zip
- name: aggregate timing files for upload
run: |
$files = Get-ChildItem -Path . -Filter "*.timing" -Recurse
$files | ForEach-Object { Write-Output "Adding: $_" }
$files | Compress-Archive -DestinationPath timing-files.zip -Force
shell: pwsh
- run: opam pin add 'ocamlfind>=1.9.7'
- run: exit 1
- run: opam pin add ocamlfind 'git+https://github.com/ocaml/ocamlfind.git#master'
- run: opam pin add --kind=version coq ${{ env.COQ_VERSION }}
- run: opam install js_of_ocaml
- run: opam install conf-time conf-gcc
Expand All @@ -74,7 +78,11 @@ jobs:
run: opam exec -- bash etc/ci/github-actions-make.sh -j${{ env.NJOBS }} c-files lite-generated-files
- name: only-test-amd64-files-lite
run: opam exec -- bash etc/ci/github-actions-make.sh -j${{ env.NJOBS }} only-test-amd64-files-lite SLOWEST_FIRST=1
- run: Get-ChildItem -Path . -Filter "*.timing" -Recurse | Compress-Archive -DestinationPath timing-files.zip
- name: aggregate timing files for upload
run: |
$files = Get-ChildItem -Path . -Filter "*.timing" -Recurse
$files | ForEach-Object { Write-Output "Adding: $_" }
$files | Compress-Archive -DestinationPath timing-files.zip -Force
shell: pwsh
# if: failure()
- name: upload generated timing files
Expand Down

0 comments on commit eff6184

Please sign in to comment.