Skip to content

Commit

Permalink
feat: generate_amalgamate_header workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
DNKpp committed Jun 17, 2024
1 parent f2cba40 commit 15c8fb9
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/generate_amalgamated_header.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: generate amalgamated header

on:
push:
branches: [main, development]
pull_request:
branches: [main, development]
release:
types: [released]

jobs:
amalgamate-header:
runs-on: ubuntu-latest
container:
image: ghcr.io/dnkpp/gcc:14

steps:
- uses: actions/checkout@v4

- name: Configure
run: |
cmake \
-S . \
-B build \
--log-level=VERBOSE \
-MIMICPP_ENABLE_AMAGAMATE_HEADERS=ON \
-DMIMICPP_BUILD_TESTS=OFF \
-DMIMICPP_BUILD_EXAMPLES=OFF
- name: Generate Doxygen Documentation
run: |
cmake --build build --target mimicpp-amalgamate-headers
- name: Upload header
uses: actions/upload-artifact@v4
with:
name: mimic++-amalgamated.hpp
path: build/tools/amalgamate-headers/mimic++-amalgamated.hpp

0 comments on commit 15c8fb9

Please sign in to comment.