Add raspbian-lite job and move fedora-rawhide #18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Test Jumpstarter workflow" | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
permissions: | |
contents: read | |
pull-requests: read | |
jobs: | |
test-in-hardware-raspbian-lite: | |
runs-on: [self-hosted, linux, jumpstarter-rpi4] | |
defaults: | |
run: | |
working-directory: ./raspbian-lite | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Worker local cache | |
run: | | |
mkdir -p $HOME/.cache/downloads.raspberrypi.org | |
ln -s $HOME/.cache/downloads.raspberrypi.org images/downloads.raspberrypi.org | |
- name: List devices | |
run: jumpstarter list-devices | |
- name: Download images | |
run: make download-image | |
- name: Prepare image | |
run: make prepare-image | |
- name: Test in Hardware | |
run: make test-in-hardware | |
test-in-hardware-fedora-rawhide: | |
runs-on: [self-hosted, linux, jumpstarter-rpi4] | |
defaults: | |
run: | |
working-directory: ./fedora-rawhide | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Worker local cache | |
run: | | |
mkdir -p $HOME/.cache/dl.fedoraproject.org | |
ln -s $HOME/.cache/dl.fedoraproject.org images/dl.fedoraproject.org | |
- name: List devices | |
run: jumpstarter list-devices | |
- name: Download images | |
run: make download-image | |
- name: Prepare image | |
run: make prepare-image | |
- name: Test in Hardware | |
run: make test-in-hardware | |