Merge pull request #764 from elbeno/clarify-message-combos #352
This file contains hidden or 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: Single Header | |
permissions: read-all | |
on: | |
workflow_dispatch: | |
merge_group: | |
push: | |
branches: [ main ] | |
env: | |
DEBIAN_FRONTEND: noninteractive | |
CMAKE_GENERATOR: Ninja | |
concurrency: | |
group: ${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
build_single_header: | |
runs-on: ${{ github.repository_owner == 'intel' && 'intel-' || '' }}ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
- name: Install build tools | |
run: | | |
sudo apt install -y ninja-build | |
- name: Configure CMake | |
run: cmake -B ${{github.workspace}}/build | |
- name: Build | |
run: cmake --build ${{github.workspace}}/build -t release_header | |
- name: 'Upload Artifact' | |
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 | |
with: | |
name: cib.hpp | |
path: ${{github.workspace}}/build/include/cib/cib.hpp |