2020-01-05 14:21:51 +01:00
|
|
|
stages:
|
|
|
|
- build
|
|
|
|
- test
|
|
|
|
|
|
|
|
# Cache
|
2020-01-05 14:28:04 +01:00
|
|
|
cache: &girara_cache
|
2020-01-05 14:21:51 +01:00
|
|
|
key: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
|
|
|
|
paths:
|
|
|
|
- subprojects/girara
|
|
|
|
|
|
|
|
# Archlinux
|
|
|
|
build:archlinux:
|
|
|
|
tags:
|
|
|
|
- pwmt
|
|
|
|
stage: build
|
|
|
|
image: registry.pwmt.org/pwmt/gitlab-runner-images/archlinux:latest
|
|
|
|
script:
|
2020-12-01 10:35:43 +01:00
|
|
|
- meson subprojects update
|
2020-01-05 14:21:51 +01:00
|
|
|
- mkdir -p build && cd build
|
2020-12-01 08:56:28 +01:00
|
|
|
- meson --force-fallback-for=girara ..
|
2020-01-05 14:21:51 +01:00
|
|
|
- ninja
|
2020-01-05 14:28:04 +01:00
|
|
|
cache:
|
|
|
|
<<: *girara_cache
|
2020-01-05 14:21:51 +01:00
|
|
|
artifacts:
|
2023-09-15 09:21:32 +02:00
|
|
|
expire_in: 6 hours
|
2020-01-05 14:21:51 +01:00
|
|
|
paths:
|
|
|
|
- build
|
|
|
|
except:
|
|
|
|
- tags
|
|
|
|
|
|
|
|
test:archlinux:
|
|
|
|
tags:
|
|
|
|
- pwmt
|
|
|
|
stage: test
|
|
|
|
image: registry.pwmt.org/pwmt/gitlab-runner-images/archlinux:latest
|
|
|
|
script:
|
|
|
|
- cd build
|
|
|
|
- ninja test
|
2020-01-05 14:28:04 +01:00
|
|
|
cache:
|
|
|
|
<<: *girara_cache
|
|
|
|
policy: pull
|
2020-01-05 14:21:51 +01:00
|
|
|
dependencies:
|
|
|
|
- build:archlinux
|
|
|
|
except:
|
|
|
|
- tags
|
|
|
|
|
2022-05-08 14:50:48 +02:00
|
|
|
# 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:
|
2023-09-15 09:21:32 +02:00
|
|
|
expire_in: 6 hours
|
2022-05-08 14:50:48 +02:00
|
|
|
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
|
|
|
|
|
2023-09-07 18:47:35 +02:00
|
|
|
# Debian 13 (trixie)
|
|
|
|
build:debian-trixie:
|
2020-01-05 14:21:51 +01:00
|
|
|
tags:
|
|
|
|
- pwmt
|
|
|
|
stage: build
|
2023-09-07 18:47:35 +02:00
|
|
|
image: registry.pwmt.org/pwmt/gitlab-runner-images/debian:trixie
|
2020-01-05 14:21:51 +01:00
|
|
|
script:
|
2020-12-01 10:35:43 +01:00
|
|
|
- meson subprojects update
|
2020-01-05 14:21:51 +01:00
|
|
|
- mkdir -p build && cd build
|
2020-12-01 08:56:28 +01:00
|
|
|
- meson --force-fallback-for=girara ..
|
2020-01-05 14:21:51 +01:00
|
|
|
- ninja
|
2020-01-05 14:28:04 +01:00
|
|
|
cache:
|
|
|
|
<<: *girara_cache
|
2020-01-05 14:21:51 +01:00
|
|
|
artifacts:
|
2023-09-15 09:21:32 +02:00
|
|
|
expire_in: 6 hours
|
2020-01-05 14:21:51 +01:00
|
|
|
paths:
|
|
|
|
- build
|
|
|
|
except:
|
|
|
|
- tags
|
|
|
|
|
2023-09-07 18:47:35 +02:00
|
|
|
test:debian-trixie:
|
2020-01-05 14:21:51 +01:00
|
|
|
tags:
|
|
|
|
- pwmt
|
|
|
|
stage: test
|
2023-09-07 18:47:35 +02:00
|
|
|
image: registry.pwmt.org/pwmt/gitlab-runner-images/debian:trixie
|
2020-01-05 14:21:51 +01:00
|
|
|
script:
|
|
|
|
- cd build
|
|
|
|
- ninja test
|
2020-01-05 14:28:04 +01:00
|
|
|
cache:
|
|
|
|
<<: *girara_cache
|
|
|
|
policy: pull
|
2020-01-05 14:21:51 +01:00
|
|
|
dependencies:
|
2023-09-07 18:47:35 +02:00
|
|
|
- build:debian-trixie
|
2020-01-05 14:21:51 +01:00
|
|
|
except:
|
|
|
|
- tags
|
|
|
|
|
2022-05-08 14:50:48 +02:00
|
|
|
# Ubuntu 22.04 LTS (jammy)
|
2022-05-08 14:52:16 +02:00
|
|
|
build:ubuntu-jammy:
|
2020-01-05 14:21:51 +01:00
|
|
|
tags:
|
|
|
|
- pwmt
|
|
|
|
stage: build
|
2022-05-08 14:50:48 +02:00
|
|
|
image: registry.pwmt.org/pwmt/gitlab-runner-images/ubuntu:jammy
|
2020-01-05 14:21:51 +01:00
|
|
|
script:
|
2020-12-01 10:35:43 +01:00
|
|
|
- meson subprojects update
|
2020-01-05 14:21:51 +01:00
|
|
|
- mkdir -p build && cd build
|
2020-12-01 08:56:28 +01:00
|
|
|
- meson --force-fallback-for=girara ..
|
2020-01-05 14:21:51 +01:00
|
|
|
- ninja
|
2020-01-05 14:28:04 +01:00
|
|
|
cache:
|
|
|
|
<<: *girara_cache
|
2020-01-05 14:21:51 +01:00
|
|
|
artifacts:
|
2023-09-15 09:21:32 +02:00
|
|
|
expire_in: 6 hours
|
2020-01-05 14:21:51 +01:00
|
|
|
paths:
|
|
|
|
- build
|
|
|
|
except:
|
|
|
|
- tags
|
|
|
|
|
2022-05-08 14:50:48 +02:00
|
|
|
test:ubuntu-jammy:
|
2020-01-05 14:21:51 +01:00
|
|
|
tags:
|
|
|
|
- pwmt
|
|
|
|
stage: test
|
2022-05-08 14:50:48 +02:00
|
|
|
image: registry.pwmt.org/pwmt/gitlab-runner-images/ubuntu:jammy
|
2020-01-05 14:21:51 +01:00
|
|
|
script:
|
|
|
|
- cd build
|
|
|
|
- ninja test
|
2020-01-05 14:28:04 +01:00
|
|
|
cache:
|
|
|
|
<<: *girara_cache
|
|
|
|
policy: pull
|
2020-01-05 14:21:51 +01:00
|
|
|
dependencies:
|
2022-05-08 14:50:48 +02:00
|
|
|
- build:ubuntu-jammy
|
2020-01-05 14:21:51 +01:00
|
|
|
except:
|
|
|
|
- tags
|
2022-05-08 14:50:48 +02:00
|
|
|
|