#139 Temporary disable macOS build because of bug in Conan #289
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI Builds | |
on: [push] | |
jobs: | |
ci_workflow_test: | |
name: ${{ matrix.config.name }} | |
runs-on: ${{ matrix.config.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
config: | |
- { | |
name: "Windows", | |
os: windows-latest | |
} | |
- { | |
name: "Ubuntu", | |
os: ubuntu-latest | |
} | |
# Disable macOS untill https://github.com/conan-io/conan/issues/14835 is fixed in Conan 2.0.13 | |
# - { | |
# name: "macOS", | |
# os: macos-latest | |
# } | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- name: Install Conan | |
run: | | |
python -m pip install --upgrade pip | |
pip install conan | |
conan --version | |
conan profile detect | |
- name: "Build: compiled, shared, boost" | |
run: conan create CDT/ -o as_compiled_library=True -o shared=True -o use_boost=True -o enable_testing=True --build missing | |
- name: "Build: compiled, shared, without boost" | |
run: conan create CDT/ -o as_compiled_library=True -o shared=True -o use_boost=False -o enable_testing=True | |
- name: "Build: compiled, static, boost" | |
run: conan create CDT/ -o as_compiled_library=True -o use_boost=True -o enable_testing=True --build missing | |
- name: "Build: compiled, static, without boost" | |
run: conan create CDT/ -o as_compiled_library=True -o use_boost=False -o enable_testing=True | |
- name: "Build: header-only, boost" | |
run: conan create CDT/ -o use_boost=True -o enable_testing=True --build missing | |
- name: "Build: header-only, without boost" | |
run: conan create CDT/ -o use_boost=False -o enable_testing=True |