diff options
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..53873dd --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,27 @@ +image: fedora:latest + +stages: + - build + +build-librest: + stage: build + except: + - tags + before_script: + - dnf update -y --nogpgcheck + - dnf -y install --nogpgcheck redhat-rpm-config + glib2-devel gobject-introspection-devel libxml2-devel meson ninja-build + libsoup-devel vala + script: + - meson _build + - ninja -C _build + - bash +x ./.gitlab-ci/run-tests.sh + artifacts: + reports: + junit: "_build/${CI_JOB_NAME}-report.xml" + name: "librest-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}" + when: always + paths: + - "_build/config.h" + - "_build/meson-logs" + - "_build/${CI_JOB_NAME}-report.xml" |