forked from liblouis/liblouis
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (36 loc) · 1.14 KB
/
macro.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
name: Test macro feature
on:
workflow_dispatch:
push:
branches: [ master ]
paths-ignore:
- README
- NEWS
permissions: # added using https://github.com/step-security/secure-workflows
contents: read
jobs:
build:
name: Test macro feature
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Install dependencies
run: sudo apt-get update -qq && sudo apt-get install -y libyaml-dev
- name: Autogen && configure
run: |
./autogen.sh
./configure --enable-macros
- name: Make
run: make
- name: Make check
run: make check
- name: Store the test log
if: ${{ always() }} # store the test log even if the tests failed
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: test-suite-macro.log
path: tests/test-suite.log