Update the ANNOUNCEMENT #31
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@1b05615854632b887b69ae1be8cbefe72d3ae423 # v2.6.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@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 | |
with: | |
name: generate-display-names.log | |
path: extra/generate-display-names/generate.log |