10 group: "${{ github.ref }}"
11 cancel-in-progress: true
15 # Keep other matrix jobs running, even if one fails.
24 # We want a working shell, qemu, python and docker. Specific version should not matter (much).
25 runs-on: ubuntu-latest
28 - uses: actions/checkout@v4
30 - run: ./tests/gha-build-deb.sh
31 name: "Build .deb for ${{matrix.host_release}}"
33 HOST_RELEASE: ${{matrix.host_release}}
35 - name: Archive built .deb
36 uses: actions/upload-artifact@v3
38 name: deb-${{matrix.host_release}}
39 if-no-files-found: error
46 # Keep other matrix jobs running, even if one fails.
67 # debootstrap in bullseye is too old.
68 - host_release: bullseye
70 # unclear how to pass --no-check-gpg to mmdebstrap
72 debootstrap: mmdebstrap
74 # We want a working shell, qemu, python and docker. Specific version should not matter (much).
75 runs-on: ubuntu-latest
78 - uses: actions/checkout@v4
80 - name: Download built deb
81 uses: actions/download-artifact@v3
83 name: deb-${{matrix.host_release}}
85 - run: ./tests/build-vm-and-test.sh setup
86 name: "Setup test environment"
88 - run: ./tests/build-vm-and-test.sh run
89 name: "Build VM image using grml-debootstrap on host ${{matrix.host_release}} for ${{matrix.release}} using debootstrap=${{matrix.debootstrap}}"
91 HOST_RELEASE: ${{matrix.host_release}}
92 RELEASE: ${{matrix.release}}
93 DEBOOTSTRAP: ${{matrix.debootstrap}}
95 - run: ./tests/build-vm-and-test.sh test
96 name: "Test built VM image for ${{matrix.release}}"
98 RELEASE: ${{matrix.release}}
100 - name: Archive VM test results
101 uses: actions/upload-artifact@v3
103 name: vm-results-${{matrix.host_release}}-${{matrix.release}}-${{matrix.debootstrap}}
104 if-no-files-found: error