From f6d9061441b8173071729125e485cb4e21f45b89 Mon Sep 17 00:00:00 2001 From: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com> Date: Sat, 18 Dec 2021 18:16:27 -0500 Subject: [PATCH] Update pull-requests_build-check.yml -Install boost -Remove boost debug during cmake --- .github/workflows/pull-requests_build-check.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull-requests_build-check.yml b/.github/workflows/pull-requests_build-check.yml index fbc5e914..77d56345 100644 --- a/.github/workflows/pull-requests_build-check.yml +++ b/.github/workflows/pull-requests_build-check.yml @@ -129,6 +129,21 @@ jobs: with: submodules: recursive + - name: Install boost + uses: MarkusJx/install-boost@v2.0.0 + id: install-boost + with: + # REQUIRED: Specify the required boost version + # A list of supported versions can be found here: + # https://github.com/actions/boost-versions/blob/main/versions-manifest.json + boost_version: 1.73.0 + # OPTIONAL: Specify a custom installation location + boost_install_dir: C:\boost + # OPTIONAL: Specify a platform version + platform_version: 2016 + + # NOTE: If a boost version matching all requirements cannot be found, + # this build step will fail - name: Setup Windows run: | C:\msys64\usr\bin\bash -lc "pacman --needed --noconfirm -S mingw-w64-x86_64-binutils mingw-w64-x86_64-openssl mingw-w64-x86_64-cmake mingw-w64-x86_64-toolchain mingw-w64-x86_64-opus mingw-w64-x86_64-x265 mingw-w64-x86_64-boost git yasm nasm diffutils make" @@ -136,7 +151,7 @@ jobs: run: | mkdir sunshine-windows-build && cd sunshine-windows-build set PATH=C:\msys64\mingw64\bin - cmake -DBoost_DEBUG=ON -DCMAKE_BUILD_TYPE=Release -DSUNSHINE_ASSETS_DIR=assets -G "MinGW Makefiles" .. + cmake -DCMAKE_BUILD_TYPE=Release -DSUNSHINE_ASSETS_DIR=assets -G "MinGW Makefiles" .. mingw32-make -j2 - name: Package Windows run: |