Skip to content

Test in Hardware

Test in Hardware #29

name: "Test in Hardware"
on:
workflow_dispatch:
push:
branches:
- main
schedule:
- cron: "30 8 * * *"
pull_request:
permissions:
contents: read
pull-requests: read
jobs:
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: sudo -E jumpstarter run-script test-tpm-on-latest-raw.yaml
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: sudo -E jumpstarter run-script test-tpm-on-latest-raw.yaml