Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoerdsimons committed Dec 29, 2023
1 parent 4926df1 commit 73e9cfc
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,38 +114,38 @@ jobs:
up --exit-code-from=sut
recipe-tests:
runs-on: ubuntu-latest
needs: build
strategy:
fail-fast: false
matrix:
backend:
- { name: "nofakemachine", backend: "--disable-fakemachine", install_qemu: true }
- { name: "qemu", backend: "--fakemachine-backend=qemu" }
- { name: "uml", backend: "--fakemachine-backend=uml" }
- { name: "kvm", backend: "--fakemachine-backend=kvm" }
- nofakemachin
- qemu
- uml
- kvm
test:
- { name: "recipes", case: "recipes" }
- { name: "escaping", case: "escaping", variables: " -t escaped:\\$ba\\'d\\$gers\\ snakes" }
- { name: "debian (amd64)", case: "debian", variables: "-t architecture:amd64" }
- { name: "debian (arm64)", case: "debian", variables: "-t architecture:arm64" }
- { name: "debian (armhf)", case: "debian", variables: "-t architecture:armhf" }
include:
- backend: { name: "qemu", backend: "--fakemachine-backend=qemu" }
- backend: qemu
test: { name: "arch", case: "arch" }
- backend: { name: "qemu", backend: "--fakemachine-backend=qemu" }
- backend: qemu
test: { name: "partitioning", case: "partitioning" }
- backend: { name: "uml", backend: "--fakemachine-backend=uml" }
- backend: uml
test: { name: "apertis", case: "apertis" }
- backend: { name: "uml", backend: "--fakemachine-backend=uml" }
- backend: uml
test: { name: "partitioning", case: "partitioning" }
name: ${{matrix.test.name}} on ${{matrix.backend.name}}
name: ${{matrix.test.name}} on ${{matrix.backend}}
runs-on: ${{ matrix.backend == 'kvm' && 'kvm' || 'ubuntu-latest' }}
steps:
- name: Repository checkout
uses: actions/checkout@v4

- name: Install QEMU emulation binaries
if: matrix.backend.install_qemu
if: ${{ matrix.backend == "nofakemachine" }}
run: |
sudo apt-get update && sudo apt-get install -y qemu-user-static
Expand All @@ -171,7 +171,7 @@ jobs:
-e TMP=/scratch
-e SYSTEMD_NSPAWN_UNIFIED_HIERARCHY=1
debos -v
${{matrix.backend.backend}}
${{matrix.backend == 'nofakemachine' && "--disable-fakemachine" || '--fakemachine-backend=' matrix.backend }}
${{matrix.test.variables}}
${{matrix.test.case}}/test.yaml

Expand Down

0 comments on commit 73e9cfc

Please sign in to comment.