Skip to content

Github workflows: attempt fix for libc++ 4 #22

Github workflows: attempt fix for libc++ 4

Github workflows: attempt fix for libc++ 4 #22

name: Windows
on:
push:
branches: [ "master" ]
#pull_request:
# branches: [ "master" ]
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
jobs:
build:
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Install boost
uses: MarkusJx/[email protected]
id: install-boost
with:
# REQUIRED: Specify the required boost version
# A list of supported versions can be found here:
# https://github.com/MarkusJx/prebuilt-boost/blob/main/versions-manifest.json
boost_version: 1.80.0
# OPTIONAL: Specify a custon install location
boost_install_dir: boost
# OPTIONAL: Specify a platform version
platform_version: 2022
# OPTIONAL: Specify a toolset
toolset: msvc
link: static
- name: Configure
run: cmake -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_INSTALL_PREFIX=urbisdk -DBoost_USE_STATIC_LIBS=On -Bbuild .
env:
BOOST_ROOT: ${{ steps.install-boost.outputs.BOOST_ROOT }}
- name: Build
# Build your program with the given configuration
run: cmake --build build --config Release
- name: Install
# Build your program with the given configuration
run: cmake --install build --config Release
- uses: actions/upload-artifact@v3
with:
name: urbisdk-windows
path: urbisdk/