CI: buster -> bullseye, add bookworm, bionic -> focal, eoan -> jammy

This commit is contained in:
Sebastian Ramacher 2022-05-08 14:50:48 +02:00
parent 6b0461be23
commit 7c455dfd93

View file

@ -44,12 +44,12 @@ test:archlinux:
except:
- tags
# Debian 10 (Buster)
build:debian-buster:
# Debian 11 (bullseye)
build:debian-bullseye:
tags:
- pwmt
stage: build
image: registry.pwmt.org/pwmt/gitlab-runner-images/debian:buster
image: registry.pwmt.org/pwmt/gitlab-runner-images/debian:bullseye
script:
- meson subprojects update
- mkdir -p build && cd build
@ -64,11 +64,11 @@ build:debian-buster:
except:
- tags
test:debian-buster:
test:debian-bullseye:
tags:
- pwmt
stage: test
image: registry.pwmt.org/pwmt/gitlab-runner-images/debian:buster
image: registry.pwmt.org/pwmt/gitlab-runner-images/debian:bullseye
script:
- cd build
- ninja test
@ -76,16 +76,52 @@ test:debian-buster:
<<: *girara_cache
policy: pull
dependencies:
- build:debian-buster
- build:debian-bullseye
except:
- tags
# Ubuntu 18.04 LTS (Bionic Beaver)
# Debian 12 (bookworm)
build:debian-bookworm:
tags:
- pwmt
stage: build
image: registry.pwmt.org/pwmt/gitlab-runner-images/debian:bookworm
script:
- meson subprojects update
- mkdir -p build && cd build
- meson --force-fallback-for=girara ..
- ninja
cache:
<<: *girara_cache
artifacts:
expire_in: 1 day
paths:
- build
except:
- tags
test:debian-bookworm:
tags:
- pwmt
stage: test
image: registry.pwmt.org/pwmt/gitlab-runner-images/debian:bookworm
script:
- cd build
- ninja test
cache:
<<: *girara_cache
policy: pull
dependencies:
- build:debian-bookworm
except:
- tags
# Ubuntu 20.04 LTS (Focal)
build:ubuntu-bionic:
tags:
- pwmt
stage: build
image: registry.pwmt.org/pwmt/gitlab-runner-images/ubuntu:bionic
image: registry.pwmt.org/pwmt/gitlab-runner-images/ubuntu:focal
script:
- meson subprojects update
- mkdir -p build && cd build
@ -100,11 +136,11 @@ build:ubuntu-bionic:
except:
- tags
test:ubuntu-bionic:
test:ubuntu-focal:
tags:
- pwmt
stage: test
image: registry.pwmt.org/pwmt/gitlab-runner-images/ubuntu:bionic
image: registry.pwmt.org/pwmt/gitlab-runner-images/ubuntu:focal
script:
- cd build
- ninja test
@ -112,16 +148,16 @@ test:ubuntu-bionic:
<<: *girara_cache
policy: pull
dependencies:
- build:ubuntu-bionic
- build:ubuntu-focal
except:
- tags
# Ubuntu 19.10 (Eoan Ermine)
build:ubuntu-eoan:
# Ubuntu 22.04 LTS (jammy)
build:ubuntu-bionic:
tags:
- pwmt
stage: build
image: registry.pwmt.org/pwmt/gitlab-runner-images/ubuntu:eoan
image: registry.pwmt.org/pwmt/gitlab-runner-images/ubuntu:jammy
script:
- meson subprojects update
- mkdir -p build && cd build
@ -136,11 +172,11 @@ build:ubuntu-eoan:
except:
- tags
test:ubuntu-eoan:
test:ubuntu-jammy:
tags:
- pwmt
stage: test
image: registry.pwmt.org/pwmt/gitlab-runner-images/ubuntu:eoan
image: registry.pwmt.org/pwmt/gitlab-runner-images/ubuntu:jammy
script:
- cd build
- ninja test
@ -148,6 +184,7 @@ test:ubuntu-eoan:
<<: *girara_cache
policy: pull
dependencies:
- build:ubuntu-eoan
- build:ubuntu-jammy
except:
- tags