update CI workflows to use v4 of the artifact actions (#714)

This commit is contained in:
Kee 2025-10-09 18:39:22 +08:00 committed by GitHub
parent 8494275d76
commit 6810d310d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 21 additions and 21 deletions

View File

@ -35,7 +35,7 @@ jobs:
run: | run: |
cmake --install ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} cmake --install ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: upload tim-vx-install - name: upload tim-vx-install
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: tim-vx-install name: tim-vx-install
path: | path: |
@ -75,7 +75,7 @@ jobs:
VIVANTE_SDK_DIR: ${{github.workspace}}/prebuilt-sdk/x86_64_linux/ VIVANTE_SDK_DIR: ${{github.workspace}}/prebuilt-sdk/x86_64_linux/
steps: steps:
- name: download tim-vx build output - name: download tim-vx build output
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: tim-vx-install name: tim-vx-install
@ -102,7 +102,7 @@ jobs:
VIV_VX_DISABLE_TP_NN_EVIS: 1 VIV_VX_DISABLE_TP_NN_EVIS: 1
steps: steps:
- name: download tim-vx build output - name: download tim-vx build output
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: tim-vx-install name: tim-vx-install
@ -117,7 +117,7 @@ jobs:
needs: tim-vx-build needs: tim-vx-build
steps: steps:
- name: download tim-vx build output - name: download tim-vx build output
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: tim-vx-install name: tim-vx-install
- name: apply-patch-build - name: apply-patch-build
@ -131,7 +131,7 @@ jobs:
cd ${{github.workspace}}/vx-delegate/build cd ${{github.workspace}}/vx-delegate/build
make vx_delegate benchmark_model make vx_delegate benchmark_model
- name: upload vx-delegate - name: upload vx-delegate
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: vx-delegate-bin name: vx-delegate-bin
path: | path: |
@ -144,7 +144,7 @@ jobs:
needs: [vx-delegate-build, tim-vx-unit-test] needs: [vx-delegate-build, tim-vx-unit-test]
steps: steps:
- name: download binary - name: download binary
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
- name: download mobilenet_v2_quant.tflite - name: download mobilenet_v2_quant.tflite
run: | run: |
@ -159,7 +159,7 @@ jobs:
needs: [vx-delegate-build, tim-vx-unit-test] needs: [vx-delegate-build, tim-vx-unit-test]
steps: steps:
- name: download binary - name: download binary
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
- name: download mobilenet_v2_b8_quant.tflite - name: download mobilenet_v2_b8_quant.tflite
run: | run: |
curl -LJO https://github.com/sunshinemyson/TIM-VX/releases/download/v1.1.30.2/mobilenet_v2_b8_quant.tflite curl -LJO https://github.com/sunshinemyson/TIM-VX/releases/download/v1.1.30.2/mobilenet_v2_b8_quant.tflite
@ -173,7 +173,7 @@ jobs:
needs: [vx-delegate-build, tim-vx-unit-test] needs: [vx-delegate-build, tim-vx-unit-test]
steps: steps:
- name: download test binary - name: download test binary
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
- name: download resnet_quant.tflite - name: download resnet_quant.tflite
run: | run: |
curl -LJO https://github.com/sunshinemyson/TIM-VX/releases/download/v1.1.30.2/resnet_quant.tflite curl -LJO https://github.com/sunshinemyson/TIM-VX/releases/download/v1.1.30.2/resnet_quant.tflite
@ -187,7 +187,7 @@ jobs:
needs: [vx-delegate-build, tim-vx-unit-test] needs: [vx-delegate-build, tim-vx-unit-test]
steps: steps:
- name: download test binary - name: download test binary
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
- name: download model - name: download model
run: | run: |
curl -LJO https://github.com/sunshinemyson/TIM-VX/releases/download/v1.1.30.2/inception_v3_quant.tflite curl -LJO https://github.com/sunshinemyson/TIM-VX/releases/download/v1.1.30.2/inception_v3_quant.tflite
@ -201,7 +201,7 @@ jobs:
needs: [vx-delegate-build, tim-vx-unit-test] needs: [vx-delegate-build, tim-vx-unit-test]
steps: steps:
- name: download test binary - name: download test binary
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
- name: download model - name: download model
run: | run: |
curl -LJO https://github.com/sunshinemyson/TIM-VX/releases/download/v1.1.30.2/mobilenet_v3_b4_quant.tflite curl -LJO https://github.com/sunshinemyson/TIM-VX/releases/download/v1.1.30.2/mobilenet_v3_b4_quant.tflite
@ -215,7 +215,7 @@ jobs:
needs: [vx-delegate-build, tim-vx-unit-test] needs: [vx-delegate-build, tim-vx-unit-test]
steps: steps:
- name: download test binary - name: download test binary
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
- name: download model - name: download model
run: | run: |
curl -LJO https://github.com/sunshinemyson/TIM-VX/releases/download/v1.1.30.2/mobilenet_v3_quant.tflite curl -LJO https://github.com/sunshinemyson/TIM-VX/releases/download/v1.1.30.2/mobilenet_v3_quant.tflite
@ -229,7 +229,7 @@ jobs:
needs: [vx-delegate-build, tim-vx-unit-test] needs: [vx-delegate-build, tim-vx-unit-test]
steps: steps:
- name: download test binary - name: download test binary
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
- name: download model - name: download model
run: | run: |
curl -LJO https://github.com/sunshinemyson/TIM-VX/releases/download/v1.1.30.2/mv3_depth_quant.tflite curl -LJO https://github.com/sunshinemyson/TIM-VX/releases/download/v1.1.30.2/mv3_depth_quant.tflite
@ -243,7 +243,7 @@ jobs:
needs: [vx-delegate-build, tim-vx-unit-test] needs: [vx-delegate-build, tim-vx-unit-test]
steps: steps:
- name: download test binary - name: download test binary
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
- name: download model - name: download model
run: | run: |
curl -LJO https://github.com/sunshinemyson/TIM-VX/releases/download/v1.1.30.2/yolo_v4_tiny_quant.tflite curl -LJO https://github.com/sunshinemyson/TIM-VX/releases/download/v1.1.30.2/yolo_v4_tiny_quant.tflite
@ -258,7 +258,7 @@ jobs:
# needs: [vx-delegate-build, tim-vx-unit-test] # needs: [vx-delegate-build, tim-vx-unit-test]
# steps: # steps:
# - name: download test binary # - name: download test binary
# uses: actions/download-artifact@v3 # uses: actions/download-artifact@v4
# - name: download model # - name: download model
# run: | # run: |
# curl -LJO https://github.com/sunshinemyson/TIM-VX/releases/download/v1.1.30.2/deeplab_v3_plus_quant.tflite # curl -LJO https://github.com/sunshinemyson/TIM-VX/releases/download/v1.1.30.2/deeplab_v3_plus_quant.tflite
@ -273,7 +273,7 @@ jobs:
# needs: vx-delegate-build # needs: vx-delegate-build
# steps: # steps:
# - name: download test binary # - name: download test binary
# uses: actions/download-artifact@v3 # uses: actions/download-artifact@v4
# - name: download model # - name: download model
# run: | # run: |
# wget https://storage.googleapis.com/tfhub-lite-models/google/lite-model/movenet/multipose/lightning/tflite/float16/1.tflite # wget https://storage.googleapis.com/tfhub-lite-models/google/lite-model/movenet/multipose/lightning/tflite/float16/1.tflite
@ -288,7 +288,7 @@ jobs:
# needs: [vx-delegate-build, tim-vx-unit-test] # needs: [vx-delegate-build, tim-vx-unit-test]
# steps: # steps:
# - name: download test binary # - name: download test binary
# uses: actions/download-artifact@v3 # uses: actions/download-artifact@v4
# - name: download model # - name: download model
# run: | # run: |
# wget https://storage.googleapis.com/tfhub-lite-models/tensorflow/lite-model/efficientdet/lite0/detection/metadata/1.tflite # wget https://storage.googleapis.com/tfhub-lite-models/tensorflow/lite-model/efficientdet/lite0/detection/metadata/1.tflite
@ -302,7 +302,7 @@ jobs:
# needs: [vx-delegate-build, tim-vx-unit-test] # needs: [vx-delegate-build, tim-vx-unit-test]
# steps: # steps:
# - name: download test binary # - name: download test binary
# uses: actions/download-artifact@v3 # uses: actions/download-artifact@v4
# - name: download model # - name: download model
# run: | # run: |
# wget https://storage.googleapis.com/tfhub-lite-models/tensorflow/lite-model/efficientdet/lite1/detection/metadata/1.tflite # wget https://storage.googleapis.com/tfhub-lite-models/tensorflow/lite-model/efficientdet/lite1/detection/metadata/1.tflite
@ -316,7 +316,7 @@ jobs:
# needs: [vx-delegate-build, tim-vx-unit-test] # needs: [vx-delegate-build, tim-vx-unit-test]
# steps: # steps:
# - name: download test binary # - name: download test binary
# uses: actions/download-artifact@v3 # uses: actions/download-artifact@v4
# - name: download model # - name: download model
# run: | # run: |
# wget https://storage.googleapis.com/tfhub-lite-models/tensorflow/lite-model/efficientdet/lite2/detection/metadata/1.tflite # wget https://storage.googleapis.com/tfhub-lite-models/tensorflow/lite-model/efficientdet/lite2/detection/metadata/1.tflite
@ -330,7 +330,7 @@ jobs:
# needs: [vx-delegate-build, tim-vx-unit-test] # needs: [vx-delegate-build, tim-vx-unit-test]
# steps: # steps:
# - name: download test binary # - name: download test binary
# uses: actions/download-artifact@v3 # uses: actions/download-artifact@v4
# - name: download model # - name: download model
# run: | # run: |
# wget https://storage.googleapis.com/tfhub-lite-models/tensorflow/lite-model/efficientdet/lite2/detection/metadata/1.tflite # wget https://storage.googleapis.com/tfhub-lite-models/tensorflow/lite-model/efficientdet/lite2/detection/metadata/1.tflite
@ -344,7 +344,7 @@ jobs:
# needs: [vx-delegate-build, tim-vx-unit-test] # needs: [vx-delegate-build, tim-vx-unit-test]
# steps: # steps:
# - name: download test binary # - name: download test binary
# uses: actions/download-artifact@v3 # uses: actions/download-artifact@v4
# - name: download model # - name: download model
# run: | # run: |
# curl -LJO https://github.com/sunshinemyson/TIM-VX/releases/download/v1.1.30.2/yolov3_608relu_quant.acuity.tflite # curl -LJO https://github.com/sunshinemyson/TIM-VX/releases/download/v1.1.30.2/yolov3_608relu_quant.acuity.tflite
@ -359,7 +359,7 @@ jobs:
# needs: vx-delegate-build # needs: vx-delegate-build
# steps: # steps:
# - name: download test binary # - name: download test binary
# uses: actions/download-artifact@v3 # uses: actions/download-artifact@v4
# - name: download model # - name: download model
# run: | # run: |
# wget https://storage.googleapis.com/tfhub-lite-models/tensorflow/lite-model/efficientdet/lite4/detection/metadata/1.tflite # wget https://storage.googleapis.com/tfhub-lite-models/tensorflow/lite-model/efficientdet/lite4/detection/metadata/1.tflite