1name: Windows 2 3on: 4 pull_request: 5 push: 6 branches: 7 - master 8 - develop 9 - feature/** 10 11env: 12 LIBRARY: serialization 13 14jobs: 15 CI: 16 strategy: 17 fail-fast: false 18 matrix: 19 include: 20 - toolset: msvc-14.1 21 cxxstd: "14,17,latest" 22 addrmd: 32,64 23 os: windows-2016 24 - toolset: msvc-14.2 25 cxxstd: "14,17,latest" 26 addrmd: 32,64 27 os: windows-2019 28 - toolset: gcc 29 cxxstd: "03,11,14,17,2a" 30 addrmd: 64 31 os: windows-2019 32 33 runs-on: ${{matrix.os}} 34 35 steps: 36 - uses: actions/checkout@v2 37 38 - name: Setup Boost 39 shell: cmd 40 run: | 41 if "%GITHUB_BASE_REF%" == "" set GITHUB_BASE_REF=%GITHUB_REF% 42 set BOOST_BRANCH=develop 43 if "%GITHUB_BASE_REF%" == "master" set BOOST_BRANCH=master 44 cd .. 45 git clone -b %BOOST_BRANCH% --depth 1 https://github.com/boostorg/boost.git boost-root 46 cd boost-root 47 xcopy /s /e /q %GITHUB_WORKSPACE% libs\%LIBRARY%\ 48 git submodule update --init tools/boostdep 49 python tools/boostdep/depinst/depinst.py --git_args "--jobs 3" %LIBRARY% 50 cmd /c bootstrap 51 b2 -d0 headers 52 53 - name: Run tests 54 shell: cmd 55 run: | 56 cd ../boost-root 57 b2 -j3 libs/%LIBRARY%/test toolset=${{matrix.toolset}} cxxstd=${{matrix.cxxstd}} address-model=${{matrix.addrmd}} variant=debug,release 58