5 group: "${{ github.ref }}"
6 cancel-in-progress: true
10 # Keep other matrix jobs running, even if one fails.
19 # We want a working shell, qemu, python and docker. Specific version should not matter (much).
20 runs-on: ubuntu-latest
23 - uses: actions/checkout@v4
25 - run: ./tests/gha-build-deb.sh
26 name: "Build .deb for ${{matrix.host_release}}"
28 HOST_RELEASE: ${{matrix.host_release}}
30 - name: Archive built .deb
31 uses: actions/upload-artifact@v3
33 name: deb-${{matrix.host_release}}
34 if-no-files-found: error
41 # Keep other matrix jobs running, even if one fails.
62 # debootstrap in bullseye is too old.
63 - host_release: bullseye
65 # unclear how to pass --no-check-gpg to mmdebstrap
67 debootstrap: mmdebstrap
69 # We want a working shell, qemu, python and docker. Specific version should not matter (much).
70 runs-on: ubuntu-latest
73 - uses: actions/checkout@v4
75 - name: Download built deb
76 uses: actions/download-artifact@v3
78 name: deb-${{matrix.host_release}}
80 - run: ./tests/build-vm-and-test.sh setup
81 name: "Setup test environment"
83 - run: ./tests/build-vm-and-test.sh run
84 name: "Build VM image using grml-debootstrap on host ${{matrix.host_release}} for ${{matrix.release}} using debootstrap=${{matrix.debootstrap}}"
86 HOST_RELEASE: ${{matrix.host_release}}
87 RELEASE: ${{matrix.release}}
88 DEBOOTSTRAP: ${{matrix.debootstrap}}
90 - run: ./tests/build-vm-and-test.sh test
91 name: "Test built VM image for ${{matrix.release}}"
93 RELEASE: ${{matrix.release}}
95 - name: Archive VM test results
96 uses: actions/upload-artifact@v3
98 name: vm-results-${{matrix.host_release}}-${{matrix.release}}-${{matrix.debootstrap}}
99 if-no-files-found: error