mirror of
https://gitlab.com/oeffi/oeffi.git
synced 2025-07-06 17:38:48 +00:00
.gitlab-ci.yml: add job for reference build
This commit is contained in:
parent
a4a5774778
commit
9524f77e10
1 changed files with 17 additions and 0 deletions
|
@ -2,6 +2,23 @@ variables:
|
|||
GIT_SUBMODULE_STRATEGY: recursive
|
||||
ANDROID_HOME: $PWD/android-sdk
|
||||
|
||||
reference:
|
||||
image: debian:bookworm-slim
|
||||
before_script:
|
||||
- apt-get update
|
||||
- apt-get -y install ca-certificates buildah
|
||||
# switch to iptables legacy, as GitLab CI doesn't support nftables
|
||||
- apt-get -y install --no-install-recommends iptables
|
||||
- update-alternatives --set iptables /usr/sbin/iptables-legacy
|
||||
script:
|
||||
- buildah build --file build.Containerfile --output build .
|
||||
after_script:
|
||||
- sha256sum build/*
|
||||
artifacts:
|
||||
name: oeffi-$CI_JOB_NAME-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA
|
||||
paths:
|
||||
- build/**
|
||||
|
||||
bullseye-jdk11:
|
||||
image: debian:bullseye-backports
|
||||
script:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue