-
Notifications
You must be signed in to change notification settings - Fork 61
107 lines (103 loc) · 3.1 KB
/
SystemReady_Images_Daily_Build.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
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
name: SystemReady Bands Daily Builds
on:
schedule:
- cron: '30 17 * * *' # Runs everyday at 11 PM IST
workflow_dispatch: # to dispatch from Github Actions
jobs:
ES_Build:
name: ES ACS Daily Build Image
runs-on: ubuntu-22.04
strategy:
matrix:
env:
- ARCH: x86_64
steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'
remove-codeql: 'true'
remove-docker-images: 'true'
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Start building
run:
sudo -s;
git config --global user.name "arm-systemready";
git config --global user.email "[email protected]";
cd ES/scripts;
./build-scripts/get_source.sh;
./build-scripts/build-es-live-image.sh
- uses: actions/upload-artifact@v4
with:
name: es_acs_live_image.img.xz
path: ES/scripts/output/es_acs_live_image.img.xz
if-no-files-found: error
SR_Build:
name: SR ACS Daily Build Image
runs-on: ubuntu-22.04
strategy:
matrix:
env:
- ARCH: x86_64
steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'
remove-codeql: 'true'
remove-docker-images: 'true'
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Start building
run:
sudo -s;
git config --global user.name "arm-systemready";
git config --global user.email "[email protected]";
cd SR/scripts;
./build-scripts/get_source.sh;
./build-scripts/build-sr-live-image.sh
- uses: actions/upload-artifact@v4
with:
name: sr_acs_live_image.img.xz
path: SR/scripts/output/sr_acs_live_image.img.xz
if-no-files-found: error
IR_Build:
name: IR ACS Daily Build Image
runs-on: ubuntu-22.04
strategy:
matrix:
env:
- ARCH: x86_64
steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'
remove-codeql: 'true'
remove-docker-images: 'true'
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Start building
run:
sudo -s;
git config --global user.name "arm-systemready";
git config --global user.email "[email protected]";
cd IR/Yocto;
./build-scripts/get_source.sh;
sed -i 's/if 0 == os.getuid/if 1 == os.getuid/' meta-woden/poky/meta/classes-global/sanity.bbclass;
./build-scripts/build-ir-live-image.sh
- uses: actions/upload-artifact@v4
with:
name: ir-acs-live-image-generic-arm64.wic.xz
path: IR/Yocto/meta-woden/build/tmp/deploy/images/generic-arm64/ir-acs-live-image-generic-arm64.wic.xz
if-no-files-found: error