Update pull-requests_build-check.yml

-Try boost v1.73.0 built on windows server 2019
This commit is contained in:
ReenigneArcher 2021-12-18 20:57:11 -05:00
parent 214478760b
commit 1039160d3a

View File

@ -130,17 +130,17 @@ jobs:
submodules: recursive submodules: recursive
- name: Install boost - name: Install boost
uses: MarkusJx/install-boost@v1.0.1 uses: MarkusJx/install-boost@v2.0.0
id: install-boost id: install-boost
with: with:
# REQUIRED: Specify the required boost version # REQUIRED: Specify the required boost version
# A list of supported versions can be found here: # A list of supported versions can be found here:
# https://github.com/actions/boost-versions/blob/main/versions-manifest.json # https://github.com/actions/boost-versions/blob/main/versions-manifest.json
boost_version: 1.70.0 boost_version: 1.73.0
# OPTIONAL: Specify a toolset on windows # OPTIONAL: Specify a custon install location
toolset: msvc14.1 #boost_install_dir: 'C:'
# OPTIONAL: Specify a custom install location # OPTIONAL: Specify a platform version
#boost_install_dir: C:\some_directory platform_version: 2019
# NOTE: If a boost version matching all requirements cannot be found, # NOTE: If a boost version matching all requirements cannot be found,
# this build step will fail # this build step will fail
@ -153,7 +153,8 @@ jobs:
run: | run: |
mkdir sunshine-windows-build && cd sunshine-windows-build mkdir sunshine-windows-build && cd sunshine-windows-build
set PATH=C:\msys64\mingw64\bin set PATH=C:\msys64\mingw64\bin
cmake -DBOOST_ROOT=${{ steps.install-boost.outputs.BOOST_ROOT }} -DBOOST_INCLUDEDIR=${{ steps.install-boost.outputs.BOOST_ROOT }}/include -DBOOST_LIBRARYDIR=${{ steps.install-boost.outputs.BOOST_ROOT }}/lib -DCMAKE_BUILD_TYPE=Release -DSUNSHINE_ASSETS_DIR=assets -G "MinGW Makefiles" .. cmake -DCMAKE_BUILD_TYPE=Release -DSUNSHINE_ASSETS_DIR=assets -G "MinGW Makefiles" ..
#-DBOOST_ROOT=${{ steps.install-boost.outputs.BOOST_ROOT }} -DBOOST_INCLUDEDIR=${{ steps.install-boost.outputs.BOOST_ROOT }}/include -DBOOST_LIBRARYDIR=${{ steps.install-boost.outputs.BOOST_ROOT }}/lib
mingw32-make -j2 mingw32-make -j2
- name: Package Windows - name: Package Windows
run: | run: |