File tree Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Original file line number Diff line number Diff line change 7171 libelf-dev \
7272 libncurses5-dev \
7373 libssl-dev \
74+ u-boot-tools \
7475 make
7576
7677 - name : Download toolchain
@@ -146,16 +147,15 @@ jobs:
146147 ;;
147148 esac
148149
150+ make -j $(nproc) uImage
151+
149152 if [[ "${{ matrix.targets.cpu }}" =~ ^(hs5x|hs6x) ]]; then
150- image_name="loader"
151- image_path=${{ github.workspace }}/arch/arc/boot/loader
153+ cp ${{ github.workspace }}/arch/arc/boot/loader vmlinux-${{ matrix.targets.cpu }}
152154 else
153- image_name="vmlinux"
154- image_path="${{ github.workspace }}/vmlinux"
155+ cp ${{ github.workspace }}/vmlinux vmlinux-${{ matrix.targets.cpu }}
155156 fi
156157
157- make -j $(nproc) ${image_name}
158- cp $image_path vmlinux-${{ matrix.targets.cpu }}
158+ cp ${{ github.workspace }}/arch/arc/boot/uImage uImage-${{ matrix.targets.cpu }}
159159 shell : bash
160160
161161 - name : Upload ${{ matrix.targets.cpu }} vmlinux
@@ -165,6 +165,13 @@ jobs:
165165 path : vmlinux-${{ matrix.targets.cpu }}
166166 retention-days : 5
167167
168+ - name : Upload ${{ matrix.targets.cpu }} uImage
169+ uses : actions/upload-artifact@v3
170+ with :
171+ name : uImage-${{ matrix.targets.cpu }}
172+ path : uImage-${{ matrix.targets.cpu }}
173+ retention-days : 5
174+
168175 test :
169176 needs : [build]
170177 runs-on : nsim
You can’t perform that action at this time.
0 commit comments