Skip to content

Update ANNOUNCEMENT #97

Update ANNOUNCEMENT

Update ANNOUNCEMENT #97

Workflow file for this run

name: Make check
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@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- 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@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
with:
name: test-suite-${{ matrix.ucs }}.log
path: tests/test-suite.log