Skip to content

cmake: Enable Dashboard in Linux package builds #351

cmake: Enable Dashboard in Linux package builds

cmake: Enable Dashboard in Linux package builds #351

Workflow file for this run

name: 'Windows builds'
on:
workflow_call:
inputs:
do_package:
required: false
type: boolean
default: false
do_package_symbols:
required: false
type: boolean
default: false
run_build:
required: true
type: boolean
push:
branches: [ 'main' ]
jobs:
build-win-x64:
runs-on: windows-2022
if: (inputs.run_build == true) || (github.event_name == 'push')
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Setup host
run: |
# HOTFIX: github hosted runners have upgraded to CMake 4.0.0 which
# breaks building yaml-cpp
choco uninstall cmake.install
choco install cmake --version 3.31.6
choco install -y ninja
choco install -y doxygen.install
pip install breathe==4.34.0
pip install sphinx==5.1.1
pip install sphinx-rtd-theme==1.0.0
shell: powershell
- name: Prepare build env on Windows
uses: ilammy/[email protected]
with:
arch: x64
toolset: 14.20
- uses: ./.github/actions/build-cmake-preset
with:
preset-name: release
build-arch: x64
artifact-label: ${{ github.job }}
build-win-x32:
runs-on: windows-2022
if: inputs.run_build == true
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Setup host
run: |
# HOTFIX: github hosted runners have upgraded to CMake 4.0.0 which
# breaks building yaml-cpp
choco uninstall cmake.install
choco install cmake --version 3.31.6
choco install -y ninja
choco install -y doxygen.install
pip install breathe==4.34.0
pip install sphinx==5.1.1
pip install sphinx-rtd-theme==1.0.0
shell: powershell
- name: Prepare build env on Windows
uses: ilammy/[email protected]
with:
arch: x86
toolset: 14.20
- uses: ./.github/actions/build-cmake-preset
with:
preset-name: x86-release
artifact-label: ${{ github.job }}