Merge pull request #736 from elbeno/fix-extend-funcptr #327
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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- 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 |