-
Notifications
You must be signed in to change notification settings - Fork 9
96 lines (96 loc) · 3.61 KB
/
main.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
name: Build Upstream
run-name: Running ${{ github.workflow }} by ${{ github.actor }}
on: [push]
jobs:
Build:
runs-on: ubuntu-latest
steps:
- run: echo "Job triggered by ${{ github.event_name }} event"
- run: echo "Building from branch ${{ github.ref }}"
- name: Install missing packages
run: |
sudo apt-get update
sudo apt-get install -y make build-essential python3 \
python3-pyelftools yamllint libgnutls28-dev u-boot-tools mtools \
gcc-aarch64-linux-gnu gcc-arm-none-eabi xz-utils
- name: Cache git repos
uses: actions/cache@v4
with:
path: .git
key: git-folder
- name: Check out repository code
uses: actions/checkout@v4
- name: Update git submodules
run: make git
- name: Setup cross compiler environment vars
run: |
echo "CROSS_COMPILE_64=aarch64-linux-gnu-" >> $GITHUB_ENV
echo "CROSS_COMPILE_32=arm-none-eabi-" >> $GITHUB_ENV
- name: Build all configs
run: ./MAKEALL
- name: Save build summary
uses: actions/upload-artifact@v4
with:
name: Build_results
path: /tmp/upstream-boot-build/build-summary.txt
- name: Save build errors
uses: actions/upload-artifact@v4
with:
name: Error_results
path: /tmp/upstream-boot-build/error-summary.txt
- name: Deploy am64x_evm_hs_fs firmware
uses: actions/upload-artifact@v4
with:
name: am64x_evm_hs_fs
path: /tmp/upstream-boot-build/deploy/am64x_evm_hs_fs_all
- name: Deploy am62x_evm_hsfs firmware
uses: actions/upload-artifact@v4
with:
name: am62x_evm_hsfs
path: /tmp/upstream-boot-build/deploy/am62x_evm_hsfs_all
- name: Deploy am62x_beagleplay_gp firmware
uses: actions/upload-artifact@v4
with:
name: am62x_beagleplay_gp
path: /tmp/upstream-boot-build/deploy/am62x_beagleplay_gp_all
- name: Deploy am62ax_evm_hs_fs firmware
uses: actions/upload-artifact@v4
with:
name: am62ax_evm_hs_fs
path: /tmp/upstream-boot-build/deploy/am62ax_evm_hs_fs_all
- name: Deploy am62px_evm_hsfs firmware
uses: actions/upload-artifact@v4
with:
name: am62px_evm_hsfs
path: /tmp/upstream-boot-build/deploy/am62px_evm_hsfs_all
- name: Deploy j721e_evm_gp firmware
uses: actions/upload-artifact@v4
with:
name: j721e_evm_gp
path: /tmp/upstream-boot-build/deploy/j721e_evm_gp_all
- name: Deploy j721e_sk_gp firmware
uses: actions/upload-artifact@v4
with:
name: j721e_sk_gp
path: /tmp/upstream-boot-build/deploy/j721e_sk_gp_all
- name: Deploy j721e_beagleboneai64_gp firmware
uses: actions/upload-artifact@v4
with:
name: j721e_beagleboneai64_gp
path: /tmp/upstream-boot-build/deploy/j721e_beagleboneai64_gp_all
- name: Deploy j7200_evm_hs firmware
uses: actions/upload-artifact@v4
with:
name: j7200_evm_hs
path: /tmp/upstream-boot-build/deploy/j7200_evm_hs_all
- name: Deploy j721s2_evm_hs_fs firmware
uses: actions/upload-artifact@v4
with:
name: j721s2_evm_hs_fs
path: /tmp/upstream-boot-build/deploy/j721s2_evm_hs_fs_all
- name: Deploy am68_sk_hs_fs firmware
uses: actions/upload-artifact@v4
with:
name: am68_sk_hs_fs
path: /tmp/upstream-boot-build/deploy/am68_sk_hs_fs_all
- run: echo "This job's status is ${{ job.status }}."