mirror of
https://github.com/flatpak/flatpak.git
synced 2026-03-28 03:45:10 -04:00
Add GitLab CI
This only uses Meson because it's not straightforward to do a standalone build with the Autotools goop.
This commit is contained in:
committed by
Simon McVittie
parent
04c11c7390
commit
170b105b5f
22
.gitlab-ci.yml
Normal file
22
.gitlab-ci.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
image: fedora:rawhide
|
||||
|
||||
stages:
|
||||
- build
|
||||
|
||||
before_script:
|
||||
- dnf install -y gcc meson ninja-build "pkgconfig(gio-2.0)" "pkgconfig(gio-unix-2.0)" "pkgconfig(glib-2.0)"
|
||||
|
||||
build:
|
||||
stage: build
|
||||
script:
|
||||
- meson _build .
|
||||
- cd _build
|
||||
- ninja
|
||||
- meson test
|
||||
# Run it again! This previously did not work.
|
||||
- meson test
|
||||
artifacts:
|
||||
when: on_failure
|
||||
name: "libglnx-${CI_COMMIT_REF_NAME}-${CI_JOB_NAME}"
|
||||
paths:
|
||||
- "${CI_PROJECT_DIR}/_build/meson-logs"
|
||||
Reference in New Issue
Block a user