|
|
|
@ -42,7 +42,7 @@ jobs:
|
|
|
|
|
|
|
|
|
|
winbuild:
|
|
|
|
|
name: Windows Build
|
|
|
|
|
runs-on: windows-2019
|
|
|
|
|
runs-on: windows-2022
|
|
|
|
|
strategy:
|
|
|
|
|
fail-fast: false
|
|
|
|
|
matrix:
|
|
|
|
@ -63,18 +63,18 @@ jobs:
|
|
|
|
|
run: choco install ninja
|
|
|
|
|
- name: Build
|
|
|
|
|
shell: cmd
|
|
|
|
|
# vcvarsall.bat need explicit Visual Studio 2019 to be installed
|
|
|
|
|
# vcvarsall.bat need explicit Visual Studio 2022 to be installed
|
|
|
|
|
run: |
|
|
|
|
|
set "HOME=%CD%"
|
|
|
|
|
set CL_ARCH=${{ fromJson('{ "x86": "amd64_x86", "x64": "amd64" }')[matrix.arch] }}
|
|
|
|
|
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" %CL_ARCH%
|
|
|
|
|
call "C:\Program Files (x86)\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" %CL_ARCH%
|
|
|
|
|
C:\msys64\usr\bin\bash.exe --login -c "make package"
|
|
|
|
|
- name: Run the testsuite
|
|
|
|
|
shell: cmd
|
|
|
|
|
run: |
|
|
|
|
|
set "HOME=%CD%"
|
|
|
|
|
set CL_ARCH=${{ fromJson('{ "x86": "amd64_x86", "x64": "amd64" }')[matrix.arch] }}
|
|
|
|
|
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" %CL_ARCH%
|
|
|
|
|
call "C:\Program Files (x86)\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" %CL_ARCH%
|
|
|
|
|
C:\msys64\usr\bin\bash.exe --login -c "make check"
|
|
|
|
|
- name: Upload artifacts
|
|
|
|
|
uses: actions/upload-artifact@v1
|
|
|
|
|