Use gitlab for CI
This commit is contained in:
@@ -1,19 +0,0 @@
|
|||||||
image: alpine/edge
|
|
||||||
packages:
|
|
||||||
- meson
|
|
||||||
- samurai
|
|
||||||
- gtk4.0-dev
|
|
||||||
- tiff-dev
|
|
||||||
- zbar-dev
|
|
||||||
tasks:
|
|
||||||
- build: |
|
|
||||||
cd megapixels
|
|
||||||
meson build
|
|
||||||
ninja -C build
|
|
||||||
- test: |
|
|
||||||
cd megapixels
|
|
||||||
ninja -C build test
|
|
||||||
sources:
|
|
||||||
- https://git.sr.ht/~martijnbraam/megapixels
|
|
||||||
artifacts:
|
|
||||||
- megapixels/build/megapixels
|
|
@@ -1,18 +0,0 @@
|
|||||||
image: archlinux
|
|
||||||
packages:
|
|
||||||
- meson
|
|
||||||
- ninja
|
|
||||||
- gtk4
|
|
||||||
- zbar
|
|
||||||
tasks:
|
|
||||||
- build: |
|
|
||||||
cd megapixels
|
|
||||||
meson build
|
|
||||||
ninja -C build
|
|
||||||
- test: |
|
|
||||||
cd megapixels
|
|
||||||
ninja -C build test
|
|
||||||
sources:
|
|
||||||
- https://git.sr.ht/~martijnbraam/megapixels
|
|
||||||
artifacts:
|
|
||||||
- megapixels/build/megapixels
|
|
18
.gitlab-ci.yml
Normal file
18
.gitlab-ci.yml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
.build_template: &build_definition
|
||||||
|
script:
|
||||||
|
- meson build
|
||||||
|
- ninja -C build
|
||||||
|
- ninja -C build test
|
||||||
|
|
||||||
|
build:debian:
|
||||||
|
image: debian:bookworm-slim
|
||||||
|
before_script:
|
||||||
|
- apt update && apt -y install gcc meson ninja-build libgtk-4-dev libtiff-dev libzbar-dev
|
||||||
|
<<: *build_definition
|
||||||
|
|
||||||
|
build:alpine:
|
||||||
|
image: alpine:edge
|
||||||
|
before_script:
|
||||||
|
- apk add --no-cache build-base meson samurai gtk4.0-dev tiff-dev zbar-dev
|
||||||
|
<<: *build_definition
|
||||||
|
|
Reference in New Issue
Block a user