Files
openE57/.github/workflows/build-unix.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.2 KiB
YAML

name: openE57-unix
on:
push:
pull_request:
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, macos-latest]
build_type: [Debug, Release]
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: Linux build
if: matrix.os == 'ubuntu-22.04'
run: |
conan create . -o openE57/*:with_tools=True -s build_type=${{ matrix.build_type }} -s compiler.cppstd=17 --build=missing
- name: Mac build
if: matrix.os == 'macos-latest'
run: |
conan create . -s build_type=${{ matrix.build_type }} -s compiler.cppstd=17 --build=missing