Files
openE57/.github/workflows/build-win.yml
Michele Adduci 9bbdda8ff4 Update Boost and ICU, bump to Conan 2.0
Updated Boost and ICU versions, bumped the support to Conan 2.0.

The minimum supported compilers for conan are now:

*   msvc 2017
*   gcc 8
*   clang 8
2024-01-24 14:09:12 +01:00

49 lines
1.4 KiB
YAML

name: openE57-windows
on:
push:
pull_request:
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [windows-latest]
build_type: [Release, Debug]
runtime_type: [static, dynamic]
runs-on: ${{ matrix.os }}
env:
CONAN_USER_HOME: "${{ github.workspace }}/release"
CONAN_USER_HOME_SHORT: "${{ github.workspace }}/release/short"
INSTALL_DIR: ${{ github.workspace }}/install/
steps:
- name: Perform checkout
uses: actions/checkout@v3
- name: Install Python environment
uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Install conan
run: |
pip install conan --upgrade
- name: Create default profile
run: |
conan profile detect --force
- name: Windows Release build
if: matrix.build_type == 'Release'
run: |
conan create . -o openE57/*:with_tools=True --build=missing -s build_type=${{ matrix.build_type }} -s compiler.cppstd=17 -s compiler.runtime=${{ matrix.runtime_type }}
- name: Windows Debug build
if: matrix.build_type == 'Debug'
run: |
conan create . --build=missing -s build_type=${{ matrix.build_type }} -s compiler.cppstd=17 -s compiler.runtime=${{ matrix.runtime_type }}