gitlab-ci.yml: Test build on CentOS 7
PATCH 1/1 gitlab-ci.yml: Test build on CentOS 7
We should also test our build with older versions of Bash and Gcc (at least the versions which we still want to support). CentOS 7 should be a reasonable base for such tests.
--- .gitlab-ci.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+)
.gitlab-ci.yml +17 -0
@@ -99,3 +99,20 @@ build-clang: eventinj msr port80 setjmp syscall tsc rmap_chain umip intel_iommu | tee results.txt - grep -q PASS results.txt && ! grep -q FAIL results.txt + +build-centos7: + image: centos:7 + before_script: + - yum update -y + - yum install -y make python qemu-kvm gcc + script: + - mkdir build + - cd build + - ../configure --arch=x86_64 --disable-pretty-print-stacks + - make -j2 + - ACCEL=tcg ./run_tests.sh + msr vmexit_cpuid vmexit_mov_from_cr8 vmexit_mov_to_cr8 vmexit_inl_pmtimer + vmexit_ple_round_robin vmexit_tscdeadline vmexit_tscdeadline_immed port80 + setjmp sieve tsc rmap_chain umip + | tee results.txt + - grep -q PASS results.txt && ! grep -q FAIL results.txt
Signature · 1 line
2.18.1
Quoted 25 lines · Thomas Huth
We should also test our build with older versions of Bash and Gcc (at least the versions which we still want to support). CentOS 7 should be a reasonable base for such tests.
Signed-off-by Thomas Huth <[email protected]>--- .gitlab-ci.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+).gitlab-ci.yml +7
-0@@ -99,3 +99,20 @@ build-clang: eventinj msr port80 setjmp syscall tsc rmap_chain umip intel_iommu | tee results.txt - grep -q PASS results.txt && ! grep -q FAIL results.txt + +build-centos7: + image: centos:7 + before_script: + - yum update -y + - yum install -y make python qemu-kvm gcc + script:
.gitlab-ci.yml build-clang: · line 118
Quoted 10 lines
.gitlab-ci.yml +10
-0+ - mkdir build + - cd build + - ../configure --arch=x86_64 --disable-pretty-print-stacks + - make -j2 + - ACCEL=tcg ./run_tests.sh + msr vmexit_cpuid vmexit_mov_from_cr8 vmexit_mov_to_cr8 vmexit_inl_pmtimer + vmexit_ple_round_robin vmexit_tscdeadline vmexit_tscdeadline_immed port80 + setjmp sieve tsc rmap_chain umip + | tee results.txt + - grep -q PASS results.txt && ! grep -q FAIL results.txt
Ping!
Paolo, Drew, any comments on this one?
Thomas
Quoted 39 lines · Thomas Huth
Quoted 25 lines · Thomas Huth
We should also test our build with older versions of Bash and Gcc (at least the versions which we still want to support). CentOS 7 should be a reasonable base for such tests.
Signed-off-by Thomas Huth <[email protected]>--- .gitlab-ci.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+).gitlab-ci.yml +7
-0@@ -99,3 +99,20 @@ build-clang: eventinj msr port80 setjmp syscall tsc rmap_chain umip intel_iommu | tee results.txt - grep -q PASS results.txt && ! grep -q FAIL results.txt + +build-centos7: + image: centos:7 + before_script: + - yum update -y + - yum install -y make python qemu-kvm gcc + script:.gitlab-ci.yml build-clang: · line 118
Quoted 10 lines
.gitlab-ci.yml +10
-0+ - mkdir build + - cd build + - ../configure --arch=x86_64 --disable-pretty-print-stacks + - make -j2 + - ACCEL=tcg ./run_tests.sh + msr vmexit_cpuid vmexit_mov_from_cr8 vmexit_mov_to_cr8 vmexit_inl_pmtimer + vmexit_ple_round_robin vmexit_tscdeadline vmexit_tscdeadline_immed port80 + setjmp sieve tsc rmap_chain umip + | tee results.txt + - grep -q PASS results.txt && ! grep -q FAIL results.txtPing!
Quoted 1 line
Paolo, Drew, any comments on this one?
Applied, thanks.
Paolo