Skip to content

Commit a926981

Browse files
committed
ci: update github ci to build p0 soc image,no run.
Signed-off-by: guibing <guibing@nucleisys.com>
1 parent 4621a09 commit a926981

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ jobs:
2828
runs-on: ubuntu-22.04
2929
strategy:
3030
matrix:
31-
soc: [evalsoc]
32-
core: [ux900, ux900fd, u900, u900fd]
33-
boot_mode: [sd, flash]
31+
soc: [p0soc]
32+
core: [ux900fd]
33+
boot_mode: [sd]
3434

3535
# Steps represent a sequence of tasks that will be executed as part of the job
3636
steps:
@@ -48,7 +48,7 @@ jobs:
4848
mv source.tar.gz $base/
4949
5050
- name: Upload source
51-
if: matrix.core == 'ux900fd' && matrix.boot_mode == 'sd' && matrix.soc == 'evalsoc'
51+
if: matrix.core == 'ux900fd' && matrix.boot_mode == 'sd' && matrix.soc == 'p0soc'
5252
uses: actions/upload-artifact@v4
5353
with:
5454
name: nuclei_linux_sdk_source
@@ -146,7 +146,7 @@ jobs:
146146
work/${{ matrix.soc }}/*.sh
147147
148148
- name: Upload cached packages
149-
if: matrix.core == 'ux900fd' && matrix.boot_mode == 'sd' && matrix.soc == 'evalsoc'
149+
if: matrix.core == 'ux900fd' && matrix.boot_mode == 'sd' && matrix.soc == 'p0soc'
150150
uses: actions/upload-artifact@v4
151151
with:
152152
name: build_caching

.github/workflows/docker.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ jobs:
4040
- name: Test Docker Image
4141
if: ${{ startsWith(github.ref_name, 'dev_') && github.event_name != 'pull_request' }}
4242
run: |
43-
docker run -i linuxsdk:${{github.ref_name}} bash run_qemu.sh
43+
# docker run -i linuxsdk:${{github.ref_name}} bash run_qemu.sh
44+
echo "The Image is for P0 SOC, cannot run on docker."
4445
4546
- name: Publish Docker Image
4647
if: ${{ github.event_name != 'pull_request' }}

0 commit comments

Comments
 (0)