-
Notifications
You must be signed in to change notification settings - Fork 30
86 lines (71 loc) · 2.57 KB
/
Copy pathbuild-jp6.1.yml
File metadata and controls
86 lines (71 loc) · 2.57 KB
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
name: Build JP 6.1
on:
push:
branches:
- master
- dev
pull_request:
branches: ['**']
permissions: read-all
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 #v3
- name: setup workspace
run: yes | ./setup_workspace.sh 6.1
- name: apply patches
run: git config --global user.email "builder@example.com" && git config --global user.name "builder" && ./apply_patches.sh 6.1
- name: build
run: ./build_all.sh 6.1
- name: Create artifact archives
run: |
JETPACK_VER="6.1"
KERNEL_VERSION="5.15.148-tegra"
# Create nvidia-oot modules archive
echo "Creating nvidia-oot modules archive"
tar -czf "./images/${JETPACK_VER}/nvidia-oot-modules.tar.gz" -C "./images/${JETPACK_VER}/rootfs/" "./lib/modules/${KERNEL_VERSION}/updates"
# Create kernel HID modules archive
echo "Creating kernel HID modules archive"
tar -czf "./images/${JETPACK_VER}/kernel-hid-modules.tar.gz" -C "./images/${JETPACK_VER}/rootfs/" "./lib/modules/${KERNEL_VERSION}/extra"
# Create rootfs archive
echo "Creating rootfs archive"
tar -cjf "./images/${JETPACK_VER}/rootfs.tar.bz2" -C "./images/${JETPACK_VER}/rootfs/" .
- name: Upload nvidia-oot modules
uses: actions/upload-artifact@v4
with:
name: nvidia-oot-modules
path: ./images/6.1/nvidia-oot-modules.tar.gz
retention-days: 30
- name: Upload kernel HID modules
uses: actions/upload-artifact@v4
with:
name: kernel-hid-modules
path: ./images/6.1/kernel-hid-modules.tar.gz
retention-days: 30
- name: Upload d4xx.ko
uses: actions/upload-artifact@v4
with:
name: d4xx-ko
path: ./images/6.1/rootfs/lib/modules/5.15.148-tegra/updates/drivers/media/i2c/d4xx.ko
retention-days: 30
- name: Upload rootfs
uses: actions/upload-artifact@v4
with:
name: rootfs
path: ./images/6.1/rootfs.tar.bz2
retention-days: 30
- name: Upload dtbo files
uses: actions/upload-artifact@v4
with:
name: dtbo-files
path: |
./images/6.1/rootfs/boot/tegra234-camera-d4xx-overlay.dtbo
./images/6.1/rootfs/boot/dtb/tegra234-p3737-0000+p3701-0000-nv.dtb
retention-days: 30
- name: Upload kernel Image
uses: actions/upload-artifact@v4
with:
name: kernel-image
path: ./images/6.1/rootfs/boot/Image
retention-days: 30