Debian Codegraph @

.github/workflows/dist.yml

raw symbols SCIP
1 name: Dist
2
3 on:
4 workflow_dispatch:
5 push:
6 branches: [ master ]
7 pull_request:
8 branches: [ master ]
9
10 env:
11 deps: cmake libpcaudio-dev libsonic-dev ronn kramdown python3
12
13 jobs:
14
15 reprotest:
16
17 runs-on: ubuntu-latest
18 name: Build with reprotest on ${{ matrix.arch }}
19 strategy:
20 fail-fast: false
21 matrix:
22 arch: [x86-64, x86-32]
23
24 include:
25 - arch: x86-32
26 archdeps: "gcc-multilib g++-multilib libpcaudio-dev:i386 libsonic-dev:i386 libc6-dbg:i386 libgcc-s1:i386"
27 archconfigflags: "-m32"
28
29 - arch: x86-64
30 archdeps: ""
31 archconfigflags: ''
32
33 steps:
34 - uses: actions/checkout@v4
35 - name: enable 32bit architecture
36 run: sudo dpkg --add-architecture i386
37 if: matrix.arch == 'x86-32'
38 - name: dependencies
39 run: sudo apt-get update && sudo apt-get install ${{ env.deps }} reprotest ${{ matrix.archdeps }}
40 - name: run
41 run: reprotest 'CFLAGS="${{ matrix.archconfigflags }}" CXXFLAGS="${{ matrix.archconfigflags }}" rm -rf build && cmake -Bbuild -DUSE_ASYNC:BOOL=OFF && cmake --build build && ctest --test-dir build -T test -j1 --output-on-failure && touch success' success
42
43 distcheck:
44
45 runs-on: ubuntu-latest
46 name: Run distcheck
47 steps:
48 - uses: actions/checkout@v4
49 - name: dependencies
50 run: sudo apt-get update && sudo apt-get install ${{ env.deps }}
51 - name: configure
52 run: cmake -Bbuild -DUSE_ASYNC:BOOL=OFF
53 - name: make
54 run: cmake --build build
55 - name: make check
56 run: ctest --test-dir build -T test -j8 --output-on-failure
57
58 - name: make package_source
59 run: cmake --build build --target package_source
60 - name: unpack
61 run: mkdir unpack && tar -C unpack -xf build/espeak-ng-*-Source.tar.bz2
62
63 - name: re-configure
64 run: cd unpack/espeak-ng-* && cmake -Bbuild -DUSE_ASYNC:BOOL=OFF
65 - name: re-make
66 run: cd unpack/espeak-ng-* && cmake --build build
67 - name: re-make check
68 run: cd unpack/espeak-ng-* && ctest --test-dir build -T test -j8 --output-on-failure