|
8 | 8 | QT_QPA_PLATFORM: offscreen
|
9 | 9 | DEBIAN_FRONTEND: noninteractive
|
10 | 10 | DEBFULLNAME: GitHub build
|
11 |
| - DEBEMAIL: github-action@github |
| 11 | + DEBEMAIL: github-action@github.com |
12 | 12 | CMAKE_BUILD_PARALLEL_LEVEL: 3
|
13 | 13 |
|
14 | 14 | jobs:
|
15 | 15 | build:
|
16 | 16 | runs-on: ubuntu-latest
|
17 |
| - container: ${{matrix.container}} |
| 17 | + container: ubuntu:${{matrix.container}} |
18 | 18 | strategy:
|
19 | 19 | matrix:
|
20 |
| - container: ['ubuntu:20.04', 'ubuntu:22.04'] |
21 |
| - include: |
22 |
| - - container: 'ubuntu:20.04' |
23 |
| - name: ubuntu2004 |
24 |
| - - container: 'ubuntu:22.04' |
25 |
| - name: ubuntu2204 |
| 20 | + container: ['20.04', '22.04', '24.04'] |
26 | 21 |
|
27 | 22 | steps:
|
28 | 23 | - name: Install dependencies
|
29 |
| - if: matrix.container == 'ubuntu:20.04' |
30 |
| - run: apt update -qq && apt install --no-install-recommends -y git lsb-release fakeroot build-essential devscripts debhelper pkg-config cmake libpcsclite-dev libssl-dev libgtest-dev libqt5svg5-dev qttools5-dev-tools qttools5-dev |
| 24 | + if: matrix.container == '20.04' |
| 25 | + run: apt update -qq && apt install --no-install-recommends -y git lsb-release fakeroot build-essential devscripts debhelper lintian pkg-config cmake libpcsclite-dev libssl-dev libgtest-dev libqt5svg5-dev qttools5-dev-tools qttools5-dev |
31 | 26 |
|
32 | 27 | - name: Install dependencies
|
33 |
| - if: matrix.container != 'ubuntu:20.04' |
34 |
| - run: apt update -qq && apt install --no-install-recommends -y git lsb-release fakeroot build-essential devscripts debhelper pkg-config cmake libpcsclite-dev libssl-dev libgtest-dev libgl-dev libqt6svg6-dev qt6-tools-dev qt6-tools-dev-tools qt6-l10n-tools libqt6core5compat6-dev |
| 28 | + if: matrix.container != '20.04' |
| 29 | + run: apt update -qq && apt install --no-install-recommends -y git lsb-release fakeroot build-essential devscripts debhelper lintian pkg-config cmake libpcsclite-dev libssl-dev libgtest-dev libgl-dev libqt6svg6-dev qt6-tools-dev qt6-tools-dev-tools qt6-l10n-tools libqt6core5compat6-dev |
35 | 30 |
|
36 | 31 | - uses: actions/checkout@v4
|
37 | 32 | with:
|
|
44 | 39 | run: |
|
45 | 40 | cmake --build build --config $BUILD_TYPE --target installer
|
46 | 41 | # Debian creates artifacts outside of project dir, copy them back to make them available in the build artifacts
|
47 |
| - cp -r ../web-eid*.* build/src/app |
| 42 | + mv ../web-eid*.* build |
| 43 | +
|
| 44 | + - name: Test package |
| 45 | + run: lintian build/*.deb |
48 | 46 |
|
49 | 47 | - uses: actions/upload-artifact@v4
|
50 | 48 | with:
|
51 |
| - name: web-eid-app-ubuntu-build-${{matrix.name}}-${{github.run_number}} |
52 |
| - path: build/src/app/*.*deb |
| 49 | + name: web-eid-app-ubuntu-build-ubuntu${{matrix.container}}-${{github.run_number}} |
| 50 | + path: build/*.*deb |
0 commit comments