Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
mtzguido committed Jan 15, 2025
1 parent 1d01a3d commit 53faaae
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build-windows-selfhosted.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ jobs:
# having to set cygwin bash, cd into $GITHUB_WORKSPACE, and keep
# shell commands to a single line.
steps:
- name: clean
shell: C:\cygwin64\bin\bash.exe --login '{0}'
run: |
cd $GITHUB_WORKSPACE && ls -lR && rm -vrf ./fstar
# ^ remove the directory where the package extracts to and builds,
# all files from previous runs remain the runner's working directory
# otherwise.

- uses: actions/download-artifact@v4
with:
name: package-src
Expand All @@ -31,14 +39,6 @@ jobs:
- run: cd $GITHUB_WORKSPACE && cat stage0/Makefile
shell: C:\cygwin64\bin\bash.exe --login '{0}'

- name: clean
shell: C:\cygwin64\bin\bash.exe --login '{0}'
run: |
cd $GITHUB_WORKSPACE && rm -rf ./fstar
# ^ remove the directory where the package extracts to and builds,
# all files from previous runs remain the runner's working directory
# otherwise.

- name: Set version
shell: C:\cygwin64\bin\bash.exe --login '{0}'
run: |
Expand All @@ -49,7 +49,7 @@ jobs:
- name: Build a package
shell: C:\cygwin64\bin\bash.exe --login '{0}'
run: |
cd $GITHUB_WORKSPACE && cd fstar && eval $(opam env) && export CC=x86_64-w64-mingw32-gcc.exe && make -j$(nproc) package ADMIT=1 && echo "There is a CR at the end of this line"
cd $GITHUB_WORKSPACE && cd fstar && eval $(opam env) && export CC=x86_64-w64-mingw32-gcc.exe && make -j$(nproc) package V=1 ADMIT=1 && echo "There is a CR at the end of this line"
# - name: Test the package
# shell: C:\cygwin64\bin\bash.exe --login '{0}'
Expand Down

0 comments on commit 53faaae

Please sign in to comment.