Merge pull request #709 from intel/dependabot/github_actions/actions/… #303
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@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1 | |
with: | |
name: cib.hpp | |
path: ${{github.workspace}}/build/include/cib/cib.hpp |