[libglnx: 4/8] Add GitLab CI
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libglnx: 4/8] Add GitLab CI
- Date: Fri, 11 Oct 2019 11:58:01 +0000 (UTC)
commit 170b105b5f65ebb3a8409fde8ae7e4f55c384946
Author: Will Thompson <wjt endlessm com>
Date: Thu Mar 28 16:09:42 2019 +0000
Add GitLab CI
This only uses Meson because it's not straightforward to do a standalone
build with the Autotools goop.
.gitlab-ci.yml | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..0d204ba
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -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"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]