-
Notifications
You must be signed in to change notification settings - Fork 45
33 lines (31 loc) · 945 Bytes
/
build-linux.yml
File metadata and controls
33 lines (31 loc) · 945 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: 'Linux Release Builds'
on:
workflow_call:
inputs:
run_build:
required: true
type: boolean
jobs:
ubuntu-release:
strategy:
matrix:
toolchain:
- cc: clang-18
cxx: clang++-18
- cc: gcc
cxx: g++
name: ${{ matrix.toolchain.cc }} release Builds for Ubuntu
runs-on: ubuntu-latest
container:
image: ghcr.io/vectorgrp/sil-kit-docker-build/sil-kit-ci-public-runner:main
if: (inputs.run_build == true) || (github.event_name == 'push')
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: ./.github/actions/build-cmake-preset
with:
preset-name: release
cmake-args: "-DCMAKE_C_COMPILER=${{ matrix.toolchain.cc }} \
-DCMAKE_CXX_COMPILER=${{ matrix.toolchain.cxx }}"
artifact-label: "${{ github.job }}-${{ matrix.toolchain.cc }}"