Actions for Windows CI (#2945)

Build Racket.exe (3m) and RacketCS.exe (CS) on Windows on push.
This commit is contained in:
Paulo Matos 2019-12-02 09:16:02 +01:00 committed by GitHub
parent 2836a6027e
commit af986ffda6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -190,6 +190,24 @@ jobs:
name: racketcs-${{ matrix.os }}-x64_git${{ github.sha }} name: racketcs-${{ matrix.os }}-x64_git${{ github.sha }}
path: ../racketcs-${{ matrix.os }}-x64_git${{ github.sha }}.tar.bz2 path: ../racketcs-${{ matrix.os }}-x64_git${{ github.sha }}.tar.bz2
build-win:
runs-on: windows-latest
# According to
# https://help.github.com/en/actions/automating-your-workflow-with-github-actions/software-installed-on-github-hosted-runners#windows-server-2019
# VS2019 is what is installed in the hosted runners:
# Version: VisualStudio/16.3.6+29418.71
# Location: C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise
steps:
- uses: actions/checkout@v1
- name: Build
working-directory: .\racket\src\worksp
shell: cmd
run: |
call msvcprep.bat x86_amd64
call build.bat
call ..\..\racket.exe csbuild.rkt -- --recurse-submodules --depth=1
# Tests # Tests
# Unfortunately Actions does not support atm yaml anchors # Unfortunately Actions does not support atm yaml anchors
# otherwise all the following jobs could be simplified # otherwise all the following jobs could be simplified