[goffice: 1/2] Create linux ci
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goffice: 1/2] Create linux ci
- Date: Fri, 7 Jan 2022 20:14:26 +0000 (UTC)
commit 3553d8a220beda7ddb8235a356131ea5dcc61435
Author: Tal Regev <tal regev gmail com>
Date: Fri Jul 16 14:30:42 2021 +0300
Create linux ci
.gitlab-ci.yml | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 00000000..dbf34a53
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,33 @@
+# use the official ubuntu image
+# see https://hub.docker.com/_/ubuntu/
+
+image: ubuntu
+
+build:
+ stage: build
+ # instead of calling g++ directly you can also use some build toolkit like make
+ # install the necessary build tools when needed
+ # before_script:
+ # - apt update && apt -y install make autoconf
+ before_script:
+ - DEBIAN_FRONTEND=noninteractive apt update
+ - DEBIAN_FRONTEND=noninteractive apt -y install autoconf automake zlib1g-dev libglib2.0-dev libxml2-dev
gtk-doc-tools autopoint libtool libbz2-dev libgdk-pixbuf2.0-dev make libgtk-3-dev libgsf-1-dev
libpango1.0-dev libcairo2-dev intltool librsvg2-dev libxslt1-dev
+ script:
+ - ./autogen.sh --disable-dependency-tracking
+ - make
+
+ artifacts:
+ paths:
+ - goffice/.libs/libgoffice-*.la
+ - goffice/.libs/libgoffice-*.so
+ - goffice/.libs/libgoffice-*.so.*
+ # depending on your build setup it's most likely a good idea to cache outputs to reduce the build time
+ # cache:
+ # paths:
+ # - "*.o"
+
+# run tests using the binary built before
+test:
+ stage: test
+ script:
+ - echo "Run Tests Here"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]