Debian Codegraph @

.github/workflows/main.yml

raw symbols SCIP
1 name: Make check
2
3 on:
4 workflow_dispatch:
5 push:
6 branches: [ master ]
7 paths-ignore:
8 - README
9 - NEWS
10 pull_request:
11 branches: [ master ]
12
13 permissions: # added using https://github.com/step-security/secure-workflows
14 contents: read
15
16 jobs:
17 build:
18 name: Build with ${{ matrix.ucs }}
19 runs-on: ubuntu-latest
20 strategy:
21 fail-fast: true # do not compile for ucs4 if ucs2 fails
22 matrix:
23 ucs: [ucs2, ucs4]
24
25 steps:
26 - name: Harden Runner
27 uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4
28 with:
29 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
30
31 - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
32 - name: Install dependencies
33 run: sudo apt-get update -qq && sudo apt-get install -y libyaml-dev texinfo texlive
34 - name: Autogen
35 run: ./autogen.sh
36 - name: Configure
37 run: ./configure
38 if: matrix.ucs == 'ucs2'
39 - name: Configure with ucs4
40 run: ./configure --enable-ucs4
41 if: matrix.ucs == 'ucs4'
42 - name: Make check
43 run: make check
44 - name: Store the test suite log
45 if: ${{ always() }} # store the test suite log even if the tests failed
46 uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
47 with:
48 name: test-suite-${{ matrix.ucs }}.log
49 path: tests/test-suite.log