Skip to content

Windows CI pipeline #91

Windows CI pipeline

Windows CI pipeline #91

Workflow file for this run

---
name: ci-linux
on:
push:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
build:
name: build / ${{ matrix.distro.name }} / ${{ matrix.compiler }}
runs-on: ubuntu-latest
timeout-minutes: 45
container:
image: ${{ matrix.distro.image }}
strategy:
fail-fast: false
max-parallel: 8
matrix:
compiler: [gcc, clang]
distro:
- { name: debian-bullseye, image: debian:11, needs_cmake: "true" }
- { name: debian-bookworm, image: debian:12, needs_cmake: "false" }
- { name: ubuntu-jammy, image: ubuntu:22.04, needs_cmake: "true" }
- { name: ubuntu-noble, image: ubuntu:24.04, needs_cmake: "false" }
env:
CMAKE_BUILD_PARALLEL_LEVEL: 4
steps:
- name: Install Git
shell: bash
run: |
set -euxo pipefail
export DEBIAN_FRONTEND=noninteractive
apt-get -o Acquire::Retries=3 update
apt-get -o Dpkg::Use-Pty=0 install -y --no-install-recommends git ca-certificates
git config --global --add safe.directory "$GITHUB_WORKSPACE"
- uses: actions/checkout@v4
- uses: ./.github/actions/linux-container-build-setup
with:
compiler: ${{ matrix.compiler }}
update_cmake: ${{ matrix.distro.needs_cmake }}
- name: Configure
run: cmake --preset ci
- name: Build
run: cmake --build --preset ci