File tree Expand file tree Collapse file tree 6 files changed +25
-23
lines changed
Expand file tree Collapse file tree 6 files changed +25
-23
lines changed Original file line number Diff line number Diff line change 22
33name : chrony-dbus-service-ci
44on : [push, workflow_dispatch]
5+ env :
6+ PROJECT_NAME : ${{ github.repository }}
7+ BUILD_WORKSPACE : build
58jobs :
69 build-doxygen :
710 uses : ./.github/workflows/doxygen.yaml
811 clang-format :
912 runs-on : ubuntu-latest
1013 container :
1114 image : fedora:41
12- env :
13- PROJECT_NAME : ${{ github.repository }}
14- BUILD_WORKSPACE : build
1515 steps :
1616 - name : pepare-git
1717 run : |
Original file line number Diff line number Diff line change 88 description : Parameters passed to cmake
99 required : true
1010 type : string
11+ env :
12+ PROJECT_NAME : ${{ github.repository }}
13+ BUILD_WORKSPACE : build
14+ PARALLEL : 4
1115jobs :
1216 build-gcc :
1317 runs-on : ubuntu-latest
1418 container :
1519 image : fedora:41
16- env :
17- PROJECT_NAME : ${{ github.repository }}
18- BUILD_WORKSPACE : build
19- PARALLEL : 4
2020 steps :
2121 - name : Install Dependencies
2222 id : install-dependencies
Original file line number Diff line number Diff line change 22
33name : cppcheck
44on : [workflow_call]
5+ env :
6+ PROJECT_NAME : ${{ github.repository }}
7+ BUILD_WORKSPACE : build
8+ PARALLEL : 1
59jobs :
610 cppcheck-run :
711 runs-on : ubuntu-latest
812 container :
913 image : fedora:41
10- env :
11- PROJECT_NAME : ${{ github.repository }}
12- BUILD_WORKSPACE : build
13- PARALLEL : 1
1414 steps :
1515 - name : pepare-git
1616 run : |
4747 uses : actions/upload-artifact@v4
4848 with :
4949 name : cppcheck
50- path : $BUILD_WORKSPACE/cppcheck_report.json
50+ path : ${{ github.workspace }}/${{ env. BUILD_WORKSPACE }} /cppcheck_report.json
Original file line number Diff line number Diff line change 22
33name : doxygen
44on : [workflow_call]
5+ env :
6+ PROJECT_NAME : ${{ github.repository }}
7+ BUILD_WORKSPACE : build
58jobs :
69 build-doxygen :
710 runs-on : ubuntu-latest
811 container :
912 image : fedora:41
10- env :
11- PROJECT_NAME : ${{ github.repository }}
12- BUILD_WORKSPACE : build
1313 steps :
1414 - name : pepare-git
1515 run : |
3232 uses : actions/upload-artifact@v4
3333 with :
3434 name : doxygen
35- path : ${{ github.workspace }}/${{ env. BUILD_WORKSPACE }} /doxygen.tar.gz
35+ path : $BUILD_WORKSPACE/doxygen.tar.gz
3636 - name : doxygen-test
3737 id : doxygen-test
3838 run : |
Original file line number Diff line number Diff line change 22
33name : build-rpm
44on : [workflow_call]
5+ env :
6+ PROJECT_NAME : ${{ github.repository }}
7+ BUILD_WORKSPACE : build
58jobs :
69 rpm :
710 runs-on : ubuntu-latest
811 container :
912 image : fedora:41
10- env :
11- PROJECT_NAME : ${{ github.repository }}
12- BUILD_WORKSPACE : build
13+
1314 steps :
1415 - name : Install Dependencies
1516 id : install-dependencies
Original file line number Diff line number Diff line change 88 description : Parameters passed to ctest
99 type : string
1010 default : --parallel 16 --schedule-random
11+ env :
12+ PROJECT_NAME : ${{ github.repository }}
13+ BUILD_WORKSPACE : build
14+ CTEST : ${{ inputs.TEST_PARAMS }}
1115jobs :
1216 ctest :
1317 runs-on : ubuntu-latest
1418 container :
1519 image : fedora:41
16- env :
17- PROJECT_NAME : ${{ github.repository }}
18- BUILD_WORKSPACE : build
19- CTEST : ${{ inputs.TEST_PARAMS }}
20+
2021 steps :
2122 - name : Install Dependencies
2223 id : install-dependencies
You can’t perform that action at this time.
0 commit comments