Skip to content

Commit b22786e

Browse files
FlyGoathuth
authored andcommitted
gitlab-ci: Add alpine to pipeline
[thuth: Enable "make check" tests, too, after tests/check-block.sh got fixed] Signed-off-by: Jiaxun Yang <[email protected]> Message-Id: <[email protected]> Signed-off-by: Thomas Huth <[email protected]>
1 parent 872cda9 commit b22786e

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

.gitlab-ci.d/containers.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@
2828
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
2929
- if: '$CI_COMMIT_REF_NAME == "testing/next"'
3030

31+
amd64-alpine-container:
32+
<<: *container_job_definition
33+
variables:
34+
NAME: alpine
35+
3136
amd64-centos7-container:
3237
<<: *container_job_definition
3338
variables:

.gitlab-ci.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,39 @@ include:
7272
- cd build
7373
- du -chs ${CI_PROJECT_DIR}/avocado-cache
7474

75+
build-system-alpine:
76+
<<: *native_build_job_definition
77+
variables:
78+
IMAGE: alpine
79+
TARGETS: aarch64-softmmu alpha-softmmu cris-softmmu hppa-softmmu
80+
moxie-softmmu microblazeel-softmmu mips64el-softmmu
81+
MAKE_CHECK_ARGS: check-build
82+
CONFIGURE_ARGS: --enable-docs
83+
artifacts:
84+
expire_in: 2 days
85+
paths:
86+
- .git-submodule-status
87+
- build
88+
89+
check-system-alpine:
90+
<<: *native_test_job_definition
91+
needs:
92+
- job: build-system-alpine
93+
artifacts: true
94+
variables:
95+
IMAGE: alpine
96+
MAKE_CHECK_ARGS: check
97+
98+
acceptance-system-alpine:
99+
<<: *native_test_job_definition
100+
needs:
101+
- job: build-system-alpine
102+
artifacts: true
103+
variables:
104+
IMAGE: alpine
105+
MAKE_CHECK_ARGS: check-acceptance
106+
<<: *acceptance_definition
107+
75108
build-system-ubuntu:
76109
<<: *native_build_job_definition
77110
variables:

0 commit comments

Comments
 (0)