-
Notifications
You must be signed in to change notification settings - Fork 0
84 lines (70 loc) · 2.04 KB
/
debian.yaml
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
name: Debian based machines
on:
push:
branches:
- main
workflow_dispatch:
jobs:
bookworm-base:
name: Base (bookworm)
runs-on: [self-hosted, forrest, debian-bookworm-base]
steps:
- name: Install essential packages
run: |
sudo localectl set-locale en_US.UTF-8
export DEBIAN_FRONTEND=noninteractive
export DPKG_FORCE=confnew
sudo -E apt-get update
sudo -E apt-get --assume-yes dist-upgrade
sudo -E apt-get --assume-yes install git
- name: Checkout
uses: actions/checkout@v4
with:
path: setup-data
- name: Set up runner machine
run: $PWD/setup-data/base/setup.sh
- uses: forrest-runner/persist@main
with:
token: ${{ secrets.PERSISTENCE_TOKEN }}
bookworm-debos:
name: Debos (bookworm)
needs: bookworm-base
runs-on: [self-hosted, forrest, debian-bookworm-debos]
steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: setup-data
- name: Install Software
run: $PWD/setup-data/debos/setup.sh
- uses: forrest-runner/persist@main
with:
token: ${{ secrets.PERSISTENCE_TOKEN }}
bookworm-yocto:
name: Yocto (bookworm)
needs: bookworm-base
runs-on: [self-hosted, forrest, debian-bookworm-yocto]
steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: setup-data
- name: Install Software
run: $PWD/setup-data/yocto/setup.sh
- uses: forrest-runner/persist@main
with:
token: ${{ secrets.PERSISTENCE_TOKEN }}
bookworm-ptxdist:
name: PTXdist (bookworm)
needs: bookworm-base
runs-on: [self-hosted, forrest, debian-bookworm-ptxdist]
steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: setup-data
- name: Install Software
run: $PWD/setup-data/ptxdist/setup.sh
- uses: forrest-runner/persist@main
with:
token: ${{ secrets.PERSISTENCE_TOKEN }}