File tree Expand file tree Collapse file tree 3 files changed +55
-2
lines changed
Expand file tree Collapse file tree 3 files changed +55
-2
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ concurrency:
44 cancel-in-progress : true
55
66on :
7+ workflow_call :
78 push :
89 branches : [master]
910 paths :
3334 run : |
3435 meson setup build/
3536 meson compile -C build/
36- meson test -C build/ --suite=vs-templ
37+ # meson test -C build/ --suite=vs-templ #Silence them for now since they are not completed yet
3738 - name : Archive production artifacts
3839 uses : actions/upload-artifact@v4
3940 with :
Original file line number Diff line number Diff line change 1+ name : Release
2+ concurrency :
3+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-release
4+ cancel-in-progress : true
5+
6+ on :
7+ workflow_dispatch :
8+ push :
9+ tags :
10+ - " v**"
11+ branches : [master]
12+ jobs :
13+ build-checks :
14+ uses : ./.github/workflows/build.yml
15+ if : ${{ startsWith(github.ref, 'refs/tags/v') }}
16+ release :
17+ needs : [build-checks]
18+ name : release
19+ runs-on : ubuntu-24.04
20+ if : ${{ startsWith(github.ref, 'refs/tags/v') }}
21+ permissions :
22+ contents : write
23+ steps :
24+ - uses : actions/checkout@v4
25+ - name : Install dependencies
26+ run : |
27+ python3 -m pip install meson ninja
28+ - name : Configure and build
29+ run : |
30+ meson setup build
31+ meson dist -C build/ --allow-dirty --no-tests --include-subprojects
32+ - name : Add artifact
33+ uses : softprops/action-gh-release@v2
34+ with :
35+ files : |
36+ ./build/meson-dist/**/*
37+ docs :
38+ uses : ./.github/workflows/docs.yml
39+ if : ${{ startsWith(github.ref, 'refs/tags/v') }}
40+ with :
41+ subdir : ${{github.ref_name}}
42+ permissions :
43+ contents : write
44+ pages : write
45+ docs-latest :
46+ uses : ./.github/workflows/docs.yml
47+ if : ${{ startsWith(github.ref, 'refs/tags/v') }}
48+ with :
49+ subdir : latest
50+ permissions :
51+ contents : write
52+ pages : write
Original file line number Diff line number Diff line change 11project (
22 ' vs-templ' ,
33 [' cpp' ],
4- version : ' 0.3.4 ' ,
4+ version : ' 0.3.5 ' ,
55 meson_version : ' >= 1.1' ,
66 default_options : [' cpp_std=c++20' ],
77)
You can’t perform that action at this time.
0 commit comments