From 70223bbc5e4113a5182d09b19723cb3f09efd3d9 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 16 Jul 2019 14:37:06 -0400 Subject: Add rendering for windows ci too --- .gitlab-ci.yml | 4 +++- .gitlab-ci/render-msys2.sh | 5 +++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .gitlab-ci/render-msys2.sh diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fb5486ce..18e04ea3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,7 +25,7 @@ gnome-runtime-linux: - meson _build - ninja -C _build - meson test -C_build --suite pango - - _build/utils/pango-view --output _build/hello.png utils/HELLO.txt + - _build/utils/pango-view --no-display --output _build/hello.png utils/HELLO.txt artifacts: name: "%CI_JOB_NAME%-%CI_COMMIT_REF_NAME%" when: always @@ -43,8 +43,10 @@ msys2-mingw64: script: - 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" artifacts: name: "%CI_JOB_NAME%-%CI_COMMIT_REF_NAME%" when: always paths: - _build/meson-logs + - _build/hello.png diff --git a/.gitlab-ci/render-msys2.sh b/.gitlab-ci/render-msys2.sh new file mode 100644 index 00000000..37214e68 --- /dev/null +++ b/.gitlab-ci/render-msys2.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +set -e + +_build/utils/pango-view --no-display --output _build/hello.png utils/HELLOW.txt -- cgit v1.2.1