Skip to content

Commit

Permalink
Trying windows with Boost static libs.
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-parent committed Jun 7, 2024
1 parent 680a5fd commit 78c6f15
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/stlab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ jobs:
if: ${{ startsWith(matrix.config.os, 'windows') }}
run: |
choco install --yes ninja
vcpkg install boost:x64-windows
# vcpkg install boost:x64-windows
# dotnet add package boost --version 1.85.0
# choco install --yes boost-msvc-14.3
# vcpkg install boost-test:x64-windows boost-multiprecision:x64-windows boost-variant:x64-windows
vcpkg install boost-test:x64-windows boost-multiprecision:x64-windows
shell: cmd

- name: Install dependencies // Linux Emscripten
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
cmake -S $HOME/boost -B ../build-boost -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=23 \
-DCMAKE_CXX_FLAGS="-Wno-deprecated-builtins" \
-DCMAKE_TOOLCHAIN_FILE=$GITHUB_WORKSPACE/cmake/Platform/Emscripten-STLab.cmake \
-DBOOST_INCLUDE_LIBRARIES="optional;variant;multiprecision;test"
-DBOOST_INCLUDE_LIBRARIES="multiprecision;test"
cmake --build ../build-boost
cmake --install ../build-boost
Expand All @@ -136,7 +136,7 @@ jobs:
run: |
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
mkdir ..\build
cmake -S. -B../build -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=20 -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake
cmake -S. -B../build -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=20 -DBoost_USE_STATIC_LIBS=TRUE -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake
- name: Build // Unix
if: ${{ startsWith(matrix.config.os, 'ubuntu') || startsWith(matrix.config.os, 'macos') }}
Expand Down

0 comments on commit 78c6f15

Please sign in to comment.