Skip to content

Commit

Permalink
ci: Update github and gitlab ci due to demosoc removal
Browse files Browse the repository at this point in the history
Signed-off-by: Huaqi Fang <[email protected]>
  • Loading branch information
fanghuaqi committed May 21, 2024
1 parent 6cf375c commit d5e2fcf
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
soc: [demosoc, evalsoc]
soc: [evalsoc]
core: [ux900, ux900fd, u900, u900fd]
boot_mode: [sd, flash]

Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
# Build bootimages
- name: Build bootimages for ${{ matrix.soc }} - ${{ matrix.core }} - ${{ matrix.boot_mode }}
if: ${{ !( matrix.soc == 'demosoc' && startsWith(matrix.core, 'u900')) }}
if: ${{ !( matrix.soc == 'evalsoc' && startsWith(matrix.core, 'u900')) }}
run: |
export SOC=${{ matrix.soc }} CORE=${{ matrix.core }} BOOT_MODE=${{ matrix.boot_mode }}
echo "Generate QEMU Disk"
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
# Run on qemu
- name: Run and test on qemu for ${{ matrix.soc }} - ${{ matrix.core }} - ${{ matrix.boot_mode }}
if: ${{ !( matrix.soc == 'demosoc' && startsWith(matrix.core, 'u900')) }}
if: ${{ !( matrix.soc == 'evalsoc' && startsWith(matrix.core, 'u900')) }}
run: |
QEMU_PATH=$(pwd)/prebuilt_tools/linux_qemu/bin:$(pwd)/prebuilt_tools/qemu/bin
export PATH=${QEMU_PATH}:$PATH
Expand All @@ -122,7 +122,7 @@ jobs:
}
- name: Upload bootimages for ${{ matrix.soc }} - ${{ matrix.core }} - ${{ matrix.boot_mode }}
if: ${{ !( matrix.soc == 'demosoc' && startsWith(matrix.core, 'u900')) }}
if: ${{ !( matrix.soc == 'evalsoc' && startsWith(matrix.core, 'u900')) }}
uses: actions/upload-artifact@v3
with:
name: bootimages_${{ matrix.soc }}_${{ matrix.core }}_${{ matrix.boot_mode }}
Expand All @@ -132,7 +132,7 @@ jobs:
work/${{ matrix.soc }}/buildstamp.txt
- name: Upload qemu images for ${{ matrix.soc }} - ${{ matrix.core }} - ${{ matrix.boot_mode }}
if: ${{ !( matrix.soc == 'demosoc' && startsWith(matrix.core, 'u900')) }}
if: ${{ !( matrix.soc == 'evalsoc' && startsWith(matrix.core, 'u900')) }}
uses: actions/upload-artifact@v3
with:
name: qemu_images_${{ matrix.soc }}_${{ matrix.core }}_${{ matrix.boot_mode }}
Expand Down
32 changes: 16 additions & 16 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -270,27 +270,27 @@ cache:
build_ux900_flash:
stage: build
variables:
SOC: "demosoc"
SOC: "evalsoc"
CORE: "ux900"
ARCH_EXT: ""
BOOT_MODE: "flash"
parallel:
matrix:
- SOC: ["demosoc", "evalsoc"]
- SOC: ["evalsoc"]
<<: *build_linux_sdk_job_def

## Job for build sdk
# Build For ux900 Core, without FPU, sd boot mode
build_ux900_sd:
stage: build
variables:
SOC: "demosoc"
SOC: "evalsoc"
CORE: "ux900"
ARCH_EXT: ""
BOOT_MODE: "sd"
parallel:
matrix:
- SOC: ["demosoc", "evalsoc"]
- SOC: ["evalsoc"]
<<: *build_linux_sdk_job_def

# Manual job for ux900 sd
Expand Down Expand Up @@ -341,7 +341,7 @@ run_ux900_flash_xlspike:
dependencies:
- build_ux900_flash
variables:
SOC: "demosoc"
SOC: "evalsoc"
CORE: "ux900"
BOOT_MODE: "flash"
<<: *run_linux_sdk_xlspike_job_def
Expand All @@ -353,7 +353,7 @@ run_ux900_sd_xlspike:
dependencies:
- build_ux900_sd
variables:
SOC: "demosoc"
SOC: "evalsoc"
CORE: "ux900"
BOOT_MODE: "sd"
<<: *run_linux_sdk_xlspike_job_def
Expand All @@ -366,7 +366,7 @@ run_ux900_flash_qemu:
- build_ux900_flash
parallel:
matrix:
- SOC: ["demosoc", "evalsoc"]
- SOC: ["evalsoc"]
variables:
CORE: "ux900"
BOOT_MODE: "flash"
Expand All @@ -380,7 +380,7 @@ run_ux900_sd_qemu:
- build_ux900_sd
parallel:
matrix:
- SOC: ["demosoc", "evalsoc"]
- SOC: ["evalsoc"]
variables:
CORE: "ux900"
BOOT_MODE: "sd"
Expand All @@ -392,13 +392,13 @@ build_ux900fd_flash:
stage: build
dependencies:
variables:
SOC: "demosoc"
SOC: "evalsoc"
CORE: "ux900fd"
ARCH_EXT: ""
BOOT_MODE: "flash"
parallel:
matrix:
- SOC: ["demosoc", "evalsoc"]
- SOC: ["evalsoc"]
<<: *build_linux_sdk_job_def

## Job for build sdk
Expand All @@ -407,13 +407,13 @@ build_ux900fd_sd:
stage: build
dependencies:
variables:
SOC: "demosoc"
SOC: "evalsoc"
CORE: "ux900fd"
ARCH_EXT: ""
BOOT_MODE: "sd"
parallel:
matrix:
- SOC: ["demosoc", "evalsoc"]
- SOC: ["evalsoc"]
<<: *build_linux_sdk_job_def

# Manual job for ux900fd sd
Expand Down Expand Up @@ -449,7 +449,7 @@ run_ux900fd_flash_xlspike:
dependencies:
- build_ux900fd_flash
variables:
SOC: "demosoc"
SOC: "evalsoc"
CORE: "ux900fd"
BOOT_MODE: "flash"
<<: *run_linux_sdk_xlspike_job_def
Expand All @@ -463,7 +463,7 @@ run_ux900fd_sd_xlspike:
dependencies:
- build_ux900fd_sd
variables:
SOC: "demosoc"
SOC: "evalsoc"
CORE: "ux900fd"
BOOT_MODE: "sd"
<<: *run_linux_sdk_xlspike_job_def
Expand All @@ -478,7 +478,7 @@ run_ux900fd_flash_qemu:
- build_ux900fd_flash
parallel:
matrix:
- SOC: ["demosoc", "evalsoc"]
- SOC: ["evalsoc"]
variables:
CORE: "ux900fd"
BOOT_MODE: "flash"
Expand All @@ -494,7 +494,7 @@ run_ux900fd_sd_qemu:
- build_ux900fd_sd
parallel:
matrix:
- SOC: ["demosoc", "evalsoc"]
- SOC: ["evalsoc"]
variables:
CORE: "ux900fd"
BOOT_MODE: "sd"
Expand Down

0 comments on commit d5e2fcf

Please sign in to comment.