forked from liblouis/liblouis
-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (43 loc) · 1.39 KB
/
metadata.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: Run the metadata test
on:
workflow_dispatch:
push:
branches: [ master ]
paths:
- 'tables/*'
- 'liblouis/metadata.c'
- 'extra/generate-display-names/*'
pull_request:
branches: [ master ]
paths:
- 'tables/*'
- 'liblouis/metadata.c'
- 'extra/generate-display-names/*'
permissions: # added using https://github.com/step-security/secure-workflows
contents: read
jobs:
metadata-test:
name: Build and check the metadta
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Install dependencies
run: sudo apt-get update -qq && sudo apt-get install -y libyaml-dev texinfo texlive golang
- name: autogen && configure
run: |
./autogen.sh
./configure --enable-ucs4
- name: Build
run: make
- name: Run the metadata test
run: make -C extra/generate-display-names
- name: Store the log
if: ${{ failure() }}
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
with:
name: generate-display-names.log
path: extra/generate-display-names/generate.log