|
31 | 31 | if: github.event.repository.owner.id == github.event.sender.id
|
32 | 32 | strategy:
|
33 | 33 | matrix:
|
34 |
| - VERSION: [23.05] |
35 |
| - SET: [docker] |
| 34 | + VERSION: [21.02, 23.05] |
| 35 | + SET: [docker, non-docker] |
36 | 36 |
|
37 | 37 | steps:
|
38 | 38 | - name: Checkout
|
@@ -63,20 +63,17 @@ jobs:
|
63 | 63 | run: |
|
64 | 64 | mkdir project
|
65 | 65 | 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 |
68 | 68 |
|
69 | 69 | repo sync -c friendlywrt --no-clone-bundle
|
70 | 70 | repo sync -c configs --no-clone-bundle
|
71 | 71 | repo sync -c device/common --no-clone-bundle
|
72 | 72 | repo sync -c device/friendlyelec --no-clone-bundle
|
73 | 73 | repo sync -c scripts --no-clone-bundle
|
| 74 | + repo sync -c scripts/sd-fuse --no-clone-bundle |
74 | 75 | repo sync -c toolchain --no-clone-bundle
|
75 | 76 |
|
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 |
| -
|
80 | 77 | - name: Apply customizations
|
81 | 78 | run: |
|
82 | 79 | cd project
|
@@ -144,9 +141,9 @@ jobs:
|
144 | 141 |
|
145 | 142 | strategy:
|
146 | 143 | matrix:
|
147 |
| - VERSION: [23.05] |
| 144 | + VERSION: [21.02, 23.05] |
148 | 145 | CPU: [rk3328]
|
149 |
| - SET: [docker] |
| 146 | + SET: [docker, non-docker] |
150 | 147 | steps:
|
151 | 148 | - name: Checkout
|
152 | 149 | uses: actions/checkout@main
|
@@ -176,22 +173,18 @@ jobs:
|
176 | 173 | run: |
|
177 | 174 | mkdir project
|
178 | 175 | 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 }} \ |
180 | 177 | -m ${{ matrix.CPU }}.xml --repo-url=https://github.com/friendlyarm/repo --no-clone-bundle
|
181 | 178 |
|
182 |
| - repo sync -c kernel --no-clone-bundle |
183 | 179 | repo sync -c u-boot --no-clone-bundle
|
184 | 180 | repo sync -c rkbin --no-clone-bundle
|
185 | 181 | repo sync -c configs --no-clone-bundle
|
186 | 182 | repo sync -c device/common --no-clone-bundle
|
187 | 183 | repo sync -c device/friendlyelec --no-clone-bundle
|
188 | 184 | repo sync -c scripts --no-clone-bundle
|
189 |
| - repo sync -c scripts/sd-fuse --no-clone-bundle |
190 | 185 | 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 |
195 | 188 |
|
196 | 189 | - name: Download friendlywrt rootfs (non-docker)
|
197 | 190 | if: matrix.SET == 'non-docker'
|
@@ -224,6 +217,12 @@ jobs:
|
224 | 217 | rk3399)
|
225 | 218 | MODEL=R4S-Series
|
226 | 219 | ;;
|
| 220 | + rk3568) |
| 221 | + MODEL=R5S-R5C-Series |
| 222 | + ;; |
| 223 | + rk3588) |
| 224 | + MODEL=T6-R6S-R6C-Series |
| 225 | + ;; |
227 | 226 | *)
|
228 | 227 | echo "unknow cpu"
|
229 | 228 | exit 1
|
|
0 commit comments