-
Notifications
You must be signed in to change notification settings - Fork 19
38 lines (29 loc) · 926 Bytes
/
tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: tests
on: [push, pull_request]
jobs:
test-local:
runs-on: ubuntu-latest
strategy:
matrix:
image: [ "RPi-OpenWRT", "RPi-RaspberryPiOSLite" ]
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y binfmt-support fdisk file git kpartx lsof p7zip-full qemu qemu-user-static unzip wget xz-utils units
shell: bash
- name: Run pimod OpenWRT example
run: sudo ./pimod.sh examples/${{ matrix.image }}.Pifile
test-action:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
- name: Run pimod OpenWRT example
uses: Nature40/pimod@HEAD
with:
pifile: examples/RPi-OpenWRT.Pifile