File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# #======================================================================================================================
2- # # SPY - Compact C++20 Tuple Toolbox
2+ # # SPY - Informations Broker
33# # Copyright : SPY Project Contributors
44# # SPDX-License-Identifier: BSL-1.0
55# #======================================================================================================================
Original file line number Diff line number Diff line change 11# #======================================================================================================================
2- # # SPY - Compact C++20 Tuple Toolbox
2+ # # SPY - C++ Informations Broker
33# # Copyright : SPY Project Contributors
44# # SPDX-License-Identifier: BSL-1.0
55# #======================================================================================================================
Original file line number Diff line number Diff line change 1+ # #======================================================================================================================
2+ # # SPY - C++ Informations Broker
3+ # # Copyright : SPY Project Contributors
4+ # # SPDX-License-Identifier: BSL-1.0
5+ # #======================================================================================================================
6+ name : SPY Documentation Generation
7+ on :
8+ push :
9+ branches :
10+ - main
11+
12+ jobs :
13+ package-standalone :
14+ runs-on : ubuntu-latest
15+ container :
16+ image : ghcr.io/jfalcou/compilers:v9
17+ strategy :
18+ fail-fast : false
19+ steps :
20+ - name : Fetch current branch
21+ uses : actions/checkout@v4.1.1
22+
23+ - name : Configure SPY
24+ run : |
25+ mkdir build && cd build
26+ cmake .. -G Ninja -DSPY_BUILD_TEST=OFF -DSPY_BUILD_DOCUMENTATION=OFF
27+
28+ - name : Generate standalone SPY header
29+ run : |
30+ ninja spy-standalone
31+
32+ - name : Upload artifacts
33+ uses : actions/upload-artifact@v4.1.1
34+ with :
35+ name : spy-standalone-header
36+ path : build/spy-standalone.hpp
Original file line number Diff line number Diff line change 1+ # #======================================================================================================================
2+ # # SPY - C++ Informations Broker
3+ # # Copyright : SPY Project Contributors
4+ # # SPDX-License-Identifier: BSL-1.0
5+ # #======================================================================================================================
6+ name : SPY Release Assets
7+ on :
8+ release :
9+ types : [published]
10+
11+ jobs :
12+ generate-standalone :
13+ runs-on : ubuntu-latest
14+ container :
15+ image : ghcr.io/jfalcou/compilers:v9
16+ steps :
17+ - name : Fetch release branch
18+ uses : actions/checkout@v4.1.1
19+
20+ - name : Configure SPY
21+ run : |
22+ mkdir build && cd build
23+ cmake .. -G Ninja
24+
25+ - name : Generate standalone SPY header
26+ run : |
27+ cd build
28+ ninja spy-standalone
29+
30+ - name : Verify standalone file exists
31+ run : |
32+ find . -name "spy.hpp" -type f
33+ ls -la standalone/spy/ || echo "standalone/spy/ not found"
34+
35+ - name : Upload standalone header to release
36+ uses : softprops/action-gh-release@v2
37+ with :
38+ files : standalone/spy/spy.hpp
Original file line number Diff line number Diff line change 11##======================================================================================================================
2- ## SPY - Compact C++20 Tuple Toolbox
2+ ## SPY - C++ Informations Broker
33## Copyright : SPY Project Contributors
44## SPDX-License-Identifier: BSL-1.0
55##======================================================================================================================
You can’t perform that action at this time.
0 commit comments