File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed
Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change 1+
12name : Windows Build
23
34on : [push]
78 BUILD_TYPE : Release
89 REPO_DIR : ${{github.workspace}}
910 BUILD_DIR : ${{github.workspace}}/bin/builddir
11+ BOOST_TOOLSET : " msvc"
12+ BOOST_VERSION : " 1.83.0"
13+ BOOST_PLATFORM_VERSION : " 2022"
1014
1115jobs :
1216 build :
2529 echo "GITHUB_SHORT_REV=$(git rev-parse --short HEAD)" >> $env:GITHUB_ENV
2630 echo "ARCHIVE_FILENAME=${{ github.event.repository.name }}-$(git rev-parse --short HEAD).zip" >> $env:GITHUB_ENV
2731 cmake -E make_directory ${{ env.BUILD_DIR }}
28- choco install boost-msvc-14.3
2932
33+ # install dependencies
34+ - name : Install Boost
35+ uses : MarkusJx/install-boost@v2.5.1
36+ id : install-boost
37+ with :
38+ # REQUIRED: Specify the required boost version
39+ # A list of supported versions can be found here:
40+ # https://github.com/MarkusJx/prebuilt-boost/blob/main/versions-manifest.json
41+ boost_version : ${{env.BOOST_VERSION}}
42+ # OPTIONAL: Specify a platform version
43+ platform_version : ${{env.BOOST_PLATFORM_VERSION}}
44+ # OPTIONAL: Specify a toolset
45+ toolset : ${{env.BOOST_TOOLSET}}
46+ # NOTE: If a boost version matching all requirements cannot be found,
47+ # this build step will fail
48+
3049 - name : Configure
50+ env :
51+ BOOST_ROOT : ${{ steps.install-boost.outputs.BOOST_ROOT }}
3152 run : cmake -B ${{env.BUILD_DIR}} -S ${{env.REPO_DIR}}
3253
3354 - name : Build
You can’t perform that action at this time.
0 commit comments