Skip to content

Improve CI builds, add arm64 #350

Improve CI builds, add arm64

Improve CI builds, add arm64 #350

Workflow file for this run

name: CI Builds
on: [push]
jobs:
ci_builds:
name: ${{ runner.name }} ${{ runner.arch }}

Check failure on line 7 in .github/workflows/ci_builds.yml

View workflow run for this annotation

GitHub Actions / CI Builds

Invalid workflow file

The workflow is not valid. .github/workflows/ci_builds.yml (Line: 7, Col: 11): Unrecognized named-value: 'runner'. Located at position 1 within expression: runner.name
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-24.04, ubuntu-24.04-arm, macos-13, macos-15, windows-2025 ]
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