Skip to content

Merge pull request #362 from intel/dependabot/github_actions/actions/… #6

Merge pull request #362 from intel/dependabot/github_actions/actions/…

Merge pull request #362 from intel/dependabot/github_actions/actions/… #6

Workflow file for this run

name: Single Header
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: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- 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@v3
with:
name: cib.hpp
path: ${{github.workspace}}/build/include/cib/cib.hpp