FStar Windows Package #18
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
name: FStar Windows Package | |
on: | |
workflow_dispatch: | |
jobs: | |
build-windows: | |
runs-on: [self-hosted, Windows, X64, opam-2-3] | |
steps: | |
- name: Check out repo | |
uses: actions/checkout@v4 | |
- name: Build a package | |
shell: C:\cygwin64\bin\bash.exe --login '{0}' | |
run: | | |
eval $(opam env) && CC=x86_64-w64-mingw32-gcc.exe make -C $GITHUB_WORKSPACE -j package && echo "There is a CR at the end of this line" | |
- name: Test the package | |
shell: C:\cygwin64\bin\bash.exe --login '{0}' | |
run: | | |
eval $(opam env) && CC=x86_64-w64-mingw32-gcc.exe CI_THREADS=24 $GITHUB_WORKSPACE/.scripts/test_package.sh && echo "There is a CR at the end of this line" | |
- name: Upload artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: fstar-Windows_x86_64.zip | |
path: src\ocaml-output\fstar.zip |