Skip to content

Commit 10998f4

Browse files
committed
rk3328c
1 parent 424dd96 commit 10998f4

File tree

1 file changed

+16
-17
lines changed

1 file changed

+16
-17
lines changed

.github/workflows/build.yml

+16-17
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ jobs:
3131
if: github.event.repository.owner.id == github.event.sender.id
3232
strategy:
3333
matrix:
34-
VERSION: [23.05]
35-
SET: [docker]
34+
VERSION: [21.02, 23.05]
35+
SET: [docker, non-docker]
3636

3737
steps:
3838
- name: Checkout
@@ -63,20 +63,17 @@ jobs:
6363
run: |
6464
mkdir project
6565
cd project
66-
repo init -u https://github.com/friendlyarm/friendlywrt_manifests -b master-v${{ matrix.VERSION }} \
67-
-m rk3328.xml --repo-url=https://github.com/friendlyarm/repo --no-clone-bundle
66+
repo init --depth=1 -u https://github.com/friendlyarm/friendlywrt_manifests -b master-v${{ matrix.VERSION }} \
67+
-m rk3399.xml --repo-url=https://github.com/friendlyarm/repo --no-clone-bundle
6868
6969
repo sync -c friendlywrt --no-clone-bundle
7070
repo sync -c configs --no-clone-bundle
7171
repo sync -c device/common --no-clone-bundle
7272
repo sync -c device/friendlyelec --no-clone-bundle
7373
repo sync -c scripts --no-clone-bundle
74+
repo sync -c scripts/sd-fuse --no-clone-bundle
7475
repo sync -c toolchain --no-clone-bundle
7576
76-
repo sync -c kernel --no-clone-bundle
77-
git clone https://github.com/friendlyarm/kernel-rockchip -b nanopi-r2-v5.15.y --depth 1 kernel
78-
cd scripts && git clone https://github.com/friendlyarm/sd-fuse_rk3328 -b kernel-5.15.y --depth 1 sd-fuse
79-
8077
- name: Apply customizations
8178
run: |
8279
cd project
@@ -144,9 +141,9 @@ jobs:
144141

145142
strategy:
146143
matrix:
147-
VERSION: [23.05]
144+
VERSION: [21.02, 23.05]
148145
CPU: [rk3328]
149-
SET: [docker]
146+
SET: [docker, non-docker]
150147
steps:
151148
- name: Checkout
152149
uses: actions/checkout@main
@@ -176,22 +173,18 @@ jobs:
176173
run: |
177174
mkdir project
178175
cd project
179-
repo init -u https://github.com/friendlyarm/friendlywrt_manifests -b master-v${{ matrix.VERSION }} \
176+
repo init --depth=1 -u https://github.com/friendlyarm/friendlywrt_manifests -b master-v${{ matrix.VERSION }} \
180177
-m ${{ matrix.CPU }}.xml --repo-url=https://github.com/friendlyarm/repo --no-clone-bundle
181178
182-
repo sync -c kernel --no-clone-bundle
183179
repo sync -c u-boot --no-clone-bundle
184180
repo sync -c rkbin --no-clone-bundle
185181
repo sync -c configs --no-clone-bundle
186182
repo sync -c device/common --no-clone-bundle
187183
repo sync -c device/friendlyelec --no-clone-bundle
188184
repo sync -c scripts --no-clone-bundle
189-
repo sync -c scripts/sd-fuse --no-clone-bundle
190185
repo sync -c toolchain --no-clone-bundle
191-
echo "pwd: $PWD"
192-
ls -l
193-
(cd kernel && git checkout nanopi-r2-v5.15.y)
194-
(cd scripts/sd-fuse && git checkout kernel-5.15.y)
186+
git clone https://github.com/friendlyarm/kernel-rockchip -b nanopi-r2-v5.15.y --depth 1 kernel
187+
cd scripts && git clone https://github.com/friendlyarm/sd-fuse_rk3328 -b kernel-5.15.y --depth 1 sd-fuse
195188
196189
- name: Download friendlywrt rootfs (non-docker)
197190
if: matrix.SET == 'non-docker'
@@ -224,6 +217,12 @@ jobs:
224217
rk3399)
225218
MODEL=R4S-Series
226219
;;
220+
rk3568)
221+
MODEL=R5S-R5C-Series
222+
;;
223+
rk3588)
224+
MODEL=T6-R6S-R6C-Series
225+
;;
227226
*)
228227
echo "unknow cpu"
229228
exit 1

0 commit comments

Comments
 (0)