mirror of
https://github.com/xcat2/xcat-dep.git
synced 2026-09-30 14:55:17 +00:00
build(ci): check and test the ipxe-xcat package
Compile the ipxe-xcat builders and payload check, parse the spec, run perlcritic on the new scripts and test, and run the payload test.
This commit is contained in:
@@ -35,6 +35,10 @@ jobs:
|
||||
perl -c mockbuild-all.pl
|
||||
perl -c BuildUtils.pm
|
||||
perl -c sbuild-all.pl
|
||||
perl -c ipxe-xcat/mockbuild.pl
|
||||
perl -c ipxe-xcat/sbuild.pl
|
||||
perl -c ipxe-xcat/verify-payload.pl
|
||||
rpmspec -P ipxe-xcat/ipxe-xcat.spec >/dev/null
|
||||
rpmspec -P \
|
||||
-D 'genesis_arch x86_64' \
|
||||
-D 'version 2.19.0' \
|
||||
@@ -44,6 +48,9 @@ jobs:
|
||||
genesis-openembedded/build \
|
||||
genesis-openembedded/package \
|
||||
genesis-openembedded/verify-release \
|
||||
ipxe-xcat/mockbuild.pl \
|
||||
ipxe-xcat/sbuild.pl \
|
||||
ipxe-xcat/verify-payload.pl \
|
||||
lib/XCAT/BuildUtils.pm \
|
||||
lib/XCAT/GenesisRelease.pm \
|
||||
mockbuild-all.pl \
|
||||
@@ -51,6 +58,7 @@ jobs:
|
||||
t/common-repo-gate.t \
|
||||
t/genesis_openembedded_release.t \
|
||||
t/genesis_openembedded_consumer.t \
|
||||
t/ipxe_xcat_payload.t \
|
||||
t/lib/XCAT/GenesisReleaseTest.pm
|
||||
|
||||
- name: Run package tests
|
||||
@@ -59,6 +67,7 @@ jobs:
|
||||
prove -v t/build_timeout.t
|
||||
prove -v t/sbuild-all.t
|
||||
prove -v t/goconserver_cross_build.t
|
||||
prove -v t/ipxe_xcat_payload.t
|
||||
prove -v t/mockbuild-all.t
|
||||
prove -v -It/lib t/genesis_openembedded_release.t
|
||||
sudo -E prove -v -It/lib t/genesis_openembedded_consumer.t
|
||||
|
||||
Reference in New Issue
Block a user