Merge pull request #1514 from liblouis/nl_unicode_braille #92
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: Make check/distcheck | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ master ] | |
paths-ignore: | |
- README | |
- NEWS | |
pull_request: | |
branches: [ master ] | |
permissions: # added using https://github.com/step-security/secure-workflows | |
contents: read | |
jobs: | |
build: | |
name: Build with ${{ matrix.ucs }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true # do not compile for ucs4 if ucs2 fails | |
matrix: | |
ucs: [ucs2, ucs4] | |
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 | |
- name: Autogen | |
run: ./autogen.sh | |
- name: Configure | |
run: ./configure | |
if: matrix.ucs == 'ucs2' | |
- name: Configure with ucs4 | |
run: ./configure --enable-ucs4 | |
if: matrix.ucs == 'ucs4' | |
- name: Make check | |
run: make check | |
- name: Store the test suite log | |
if: ${{ always() }} # store the test suite log even if the tests failed | |
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0 | |
with: | |
name: test-suite-${{ matrix.ucs }}.log | |
path: tests/test-suite.log | |
- name: Make distcheck | |
run: make distcheck |