summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-07-16 15:37:15 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-07-16 15:38:05 -0400
commitae1f6e799aa3f73f09cb6e1810d5f828292e53d5 (patch)
tree188165b59f83bb515f18bf95c0947e043a4a80d5
parent849fc76203996e28c4725d2f263237592dfe4014 (diff)
downloadpango-ae1f6e799aa3f73f09cb6e1810d5f828292e53d5.tar.gz
ci: produce a font list
Know the environment.
-rw-r--r--.gitlab-ci.yml4
-rw-r--r--.gitlab-ci/list-msys2.sh5
2 files changed, 9 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 18e04ea3..1be8394b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -26,12 +26,14 @@ gnome-runtime-linux:
- ninja -C _build
- meson test -C_build --suite pango
- _build/utils/pango-view --no-display --output _build/hello.png utils/HELLO.txt
+ - _build/utils/pango-list > _build/fontlist
artifacts:
name: "%CI_JOB_NAME%-%CI_COMMIT_REF_NAME%"
when: always
paths:
- _build/meson-logs
- _build/hello.png
+ - _build/fontlist
msys2-mingw64:
stage: build
@@ -44,9 +46,11 @@ msys2-mingw64:
- C:\msys64\usr\bin\pacman --noconfirm -Syyuu
- C:\msys64\usr\bin\bash -lc "bash -x ./.gitlab-ci/test-msys2.sh"
- C:\msys64\usr\bin\bash -lc "bash -x ./.gitlab-ci/render-msys2.sh"
+ - C:\msys64\usr\bin\bash -lc "bash -x ./.gitlab-ci/list-msys2.sh"
artifacts:
name: "%CI_JOB_NAME%-%CI_COMMIT_REF_NAME%"
when: always
paths:
- _build/meson-logs
- _build/hello.png
+ - _build/fontlist
diff --git a/.gitlab-ci/list-msys2.sh b/.gitlab-ci/list-msys2.sh
new file mode 100644
index 00000000..07351166
--- /dev/null
+++ b/.gitlab-ci/list-msys2.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+set -e
+
+PATH=_build/pango:$PATH _build/utils/pango-list > _build/fontlist