-
Notifications
You must be signed in to change notification settings - Fork 61
45 lines (42 loc) · 1.18 KB
/
SR_ACS_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
name: SR ACS Build Checker
on:
push:
branches: # trigger on push to master
- main
pull_request: # trigger on pull requests to master
branches:
- main
workflow_dispatch: # to dispatch from Github Actions
jobs:
build_image:
name: SR ACS Build Check
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@v3
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@v3
with:
name: sr_acs_live_image.img.xz
path: SR/scripts/output/sr_acs_live_image.img.xz
if-no-files-found: error