Add raspbian-lite job and move fedora-rawhide #16
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] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Worker local cache | |
run: | | |
mkdir -p $HOME/.cache/dl.fedoraproject.org $HOME/.cache/downloads.raspberrypi.org | |
ln -s $HOME/.cache/dl.fedoraproject.org fedora-rawhide/images/dl.fedoraproject.org | |
ln -s $HOME/.cache/downloads.raspberrypi.org raspbian-lite/images/downloads.raspberrypi.org | |
- name: List devices | |
run: jumpstarter list-devices | |
- name: Raspbian Lite | |
run: cd raspbian-lite | |
- 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] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Worker local cache | |
run: | | |
mkdir -p $HOME/.cache/dl.fedoraproject.org $HOME/.cache/downloads.raspberrypi.org | |
ln -s $HOME/.cache/dl.fedoraproject.org fedora-rawhide/images/dl.fedoraproject.org | |
ln -s $HOME/.cache/downloads.raspberrypi.org raspbian-lite/images/downloads.raspberrypi.org | |
- name: List devices | |
run: jumpstarter list-devices | |
- name: Fedora Rawhide | |
run: cd fedora-rawhide | |
- name: Download images | |
run: make download-image | |
- name: Prepare image | |
run: make prepare-image | |
- name: Test in Hardware | |
run: make test-in-hardware | |