forked from HOST-Oman/libraqm
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (32 loc) · 1.13 KB
/
libraqm.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
---
name: cooljeanius/libraqm
on:
push:
branches:
- "**/*"
tags:
- "v0.*.*"
pull_request:
jobs:
test:
runs-on: ubuntu-20.04
steps:
- name: checkout
uses: actions/checkout@v4
- run: sudo apt-get -y install libfreetype6-dev libharfbuzz-dev libfribidi-dev gtk-doc-tools shellcheck
# 'sudo' was not transformed because there is no suitable equivalent in
# GitHub Actions
- run: if test -e /usr/local/etc/xml/catalog; then export XML_CATALOG_FILES="/usr/local/etc/xml/catalog"; fi
- run: "./autogen.sh"
- run: "./configure --enable-gtk-doc --disable-Werror"
- run: make
- run: make check || (cat "$(find . -name '*.log')" && false)
- run: make distcheck
- run: if test -n "${TRAVIS_SECURE_ENV_VARS}"; then bash .ci/deploy-docs.sh; elif test -x "$(which shellcheck)"; then shellcheck .ci/deploy-docs.sh; else stat .ci/deploy-docs.sh; fi
if: "${{ success() }}"
- name: Upload a Build Artifact
uses: actions/upload-artifact@v4
if: "${{ success() }}"
with:
name: gzipped_tarfile
path: raqm-0.*.*.tar.gz