Skip to content

Commit

Permalink
CI: adopt singleheader CI to updated filenames
Browse files Browse the repository at this point in the history
  • Loading branch information
wirew0rm committed Jan 17, 2024
1 parent a2393d8 commit 3392b7c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/single-header.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
run: |
wget https://raw.githubusercontent.com/edlund/amalgamate/c91f07eea1133aa184f652b8f1398eaf03586208/amalgamate.py
mkdir -p singleheader
python3 amalgamate.py -c devtools/singleheader-config-graph.json -s include/ -v yes
python3 amalgamate.py -c devtools/singleheader-config-graph.json -s . -v yes
python3 amalgamate.py -c devtools/singleheader-config-bench.json -s bench/ -v yes
- name: upload to branch # keeping history of single-header branch
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ A [single header version](https://raw.githubusercontent.com/fair-acc/graph-proto
is provided in the `singleheader/`subdirectory of the single-header branch.
If you want to locally regenerate the single header file, just follow
the [CI step](https://github.com/fair-acc/graph-prototype/blob/main/.github/workflows/single-header.yml#L38-L41).
It can be used on [compiler-explorer](https://compiler-explorer.com/z/zcx49YP53) with `-sdt=c++20 -O3` compiler options.
It can be used on [compiler-explorer](https://compiler-explorer.com/z/EG7Eb9K83) with `-std=c++23 -O3` compiler options.

## Copyright & License
Copyright (C) 2018-2022 FAIR -- Facility for Antiproton & Ion Research, Darmstadt, Germany<br/>
Copyright (C) 2018-2024 FAIR -- Facility for Antiproton & Ion Research, Darmstadt, Germany<br/>
Unless otherwise noted: [SPDX-License-Identifier: LGPL-3.0-or-later](https://spdx.org/licenses/LGPL-3.0-or-later.html)

### Contributors
Expand Down
15 changes: 12 additions & 3 deletions devtools/singleheader-config-graph.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,19 @@
"project": "Graph.hpp",
"target": "singleheader/Graph.hpp",
"sources": [
"Graph.hpp"
"./core/include/gnuradio-4.0/Graph.hpp"
],
"include_paths": [
".",
"../build/_deps/refl-cpp-src/include"
"./core/include/",
"./blocks/basic/include/",
"./blocks/filter/include/",
"./blocks/fourier/include/",
"./blocks/testing/include/",
"./algorithm/include/",
"./meta/include/",
"./build/_deps/vir-simd-src/",
"./build/_deps/pmt-src/include/",
"./third_party/magic_enum/",
"./third_party/refl-cpp/"
]
}

0 comments on commit 3392b7c

Please sign in to comment.