9 group: "${{ github.ref }}"
10 cancel-in-progress: true
14 # Keep other matrix jobs running, even if one fails.
23 # We want a working shell, qemu, python and docker. Specific version should not matter (much).
24 runs-on: ubuntu-latest
27 - uses: actions/checkout@v4
29 - run: ./tests/gha-build-deb.sh
30 name: "Build .deb for ${{matrix.host_release}}"
32 HOST_RELEASE: ${{matrix.host_release}}
34 - name: Archive built .deb
35 uses: actions/upload-artifact@v3
37 name: deb-${{matrix.host_release}}
38 if-no-files-found: error
45 # Keep other matrix jobs running, even if one fails.
66 # debootstrap in bullseye is too old.
67 - host_release: bullseye
69 # unclear how to pass --no-check-gpg to mmdebstrap
71 debootstrap: mmdebstrap
73 # We want a working shell, qemu, python and docker. Specific version should not matter (much).
74 runs-on: ubuntu-latest
77 - uses: actions/checkout@v4
79 - name: Download built deb
80 uses: actions/download-artifact@v3
82 name: deb-${{matrix.host_release}}
84 - run: ./tests/build-vm-and-test.sh setup
85 name: "Setup test environment"
87 - run: ./tests/build-vm-and-test.sh run
88 name: "Build VM image using grml-debootstrap on host ${{matrix.host_release}} for ${{matrix.release}} using debootstrap=${{matrix.debootstrap}}"
90 HOST_RELEASE: ${{matrix.host_release}}
91 RELEASE: ${{matrix.release}}
92 DEBOOTSTRAP: ${{matrix.debootstrap}}
94 - run: ./tests/build-vm-and-test.sh test
95 name: "Test built VM image for ${{matrix.release}}"
97 RELEASE: ${{matrix.release}}
99 - name: Archive VM test results
100 uses: actions/upload-artifact@v3
102 name: vm-results-${{matrix.host_release}}-${{matrix.release}}-${{matrix.debootstrap}}
103 if-no-files-found: error