Skip to content

Commit

Permalink
ci: split into further jobs
Browse files Browse the repository at this point in the history
as we are still need balance with the little disk space we
have left in CI after building all of the base components.
Biggest modules identified so far are cbmc and scancode,
so both of them will be moved into new jobs.

Signed-off-by: Konrad Weihmann <[email protected]>
  • Loading branch information
priv-kweihmann committed Sep 1, 2023
1 parent 5904a32 commit 5c683b5
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 9 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/nightly_master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,20 @@ jobs:

strategy:
matrix:
testset: [standard, kernel]
testset: [standard, kernel, cpp, license]
include:
- testset: standard
BUILD_PARAMFILE: standard
WITH_KERNEL: 1
- testset: kernel
BUILD_PARAMFILE: kernel
WITH_KERNEL: 0
- testset: cpp
BUILD_PARAMFILE: cpp
WITH_KERNEL: 0
- testset: license
BUILD_PARAMFILE: license
WITH_KERNEL: 0
container:
image: privkweihmann/yocto-sca-minimal:2004
env:
Expand Down Expand Up @@ -86,16 +94,16 @@ jobs:
target: qemu-system-native
- name: build (kernel)
uses: priv-kweihmann/meta-sca-ci-utils/buildstep@latest
if: ${{ matrix.BUILD_PARAMFILE }} != 'kernel'
if: ${{ matrix.WITH_KERNEL }} == '1'
with:
target: linux-yocto
- name: build (sca-modules/others)
- name: build (sca-modules)
uses: priv-kweihmann/meta-sca-ci-utils/buildmodules@latest
with:
parameter-file: ${{ matrix.BUILD_PARAMFILE }}
env:
BUILDNTEST_NOSDK: 1
- name: test (sca results/others)
- name: test (sca results)
uses: priv-kweihmann/meta-sca-ci-utils/testresults@latest
with:
parameter-file: ${{ matrix.BUILD_PARAMFILE }}
Expand Down
2 changes: 2 additions & 0 deletions test/lang_cpp.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
cbmc
cppcheck
3 changes: 3 additions & 0 deletions test/lang_license.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
licensecheck
reuse
scancode
5 changes: 0 additions & 5 deletions test/lang_standard.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
bandit
bashate
bitbake
cbmc
checkbashism
cmake
cppcheck
cpplint
cvecheck
darglint
Expand All @@ -17,7 +15,6 @@ gcc
golint
it
jsonlint
licensecheck
looong
msgcheck
multimetric
Expand All @@ -30,9 +27,7 @@ pscan
pylint
pysymcheck
rats
reuse
revive
scancode
setuptoolslint
shellcheck
slick
Expand Down

0 comments on commit 5c683b5

Please sign in to comment.