| 1 |
name: Test macro feature |
| 2 |
|
| 3 |
on: |
| 4 |
workflow_dispatch: |
| 5 |
push: |
| 6 |
branches: [ master ] |
| 7 |
paths-ignore: |
| 8 |
- README |
| 9 |
- NEWS |
| 10 |
|
| 11 |
permissions: |
| 12 |
contents: read |
| 13 |
|
| 14 |
jobs: |
| 15 |
build: |
| 16 |
name: Test macro feature |
| 17 |
|
| 18 |
runs-on: ubuntu-latest |
| 19 |
|
| 20 |
steps: |
| 21 |
- name: Harden Runner |
| 22 |
uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 |
| 23 |
with: |
| 24 |
egress-policy: audit |
| 25 |
|
| 26 |
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 |
| 27 |
- name: Install dependencies |
| 28 |
run: sudo apt-get update -qq && sudo apt-get install -y libyaml-dev |
| 29 |
- name: Autogen && configure |
| 30 |
run: | |
| 31 |
./autogen.sh |
| 32 |
./configure --enable-macros |
| 33 |
- name: Make |
| 34 |
run: make |
| 35 |
- name: Make check |
| 36 |
run: make check |
| 37 |
- name: Store the test log |
| 38 |
if: ${{ always() }} |
| 39 |
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a |
| 40 |
with: |
| 41 |
name: test-suite-macro.log |
| 42 |
path: tests/test-suite.log |