-
Notifications
You must be signed in to change notification settings - Fork 744
52 lines (46 loc) · 1.66 KB
/
ci_xpu.yml
File metadata and controls
52 lines (46 loc) · 1.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: CI_XPU
on:
pull_request:
types: [opened, synchronize]
branches: [develop, release/**]
permissions: read-all
concurrency:
group: ${{ github.event.pull_request.number }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
clone:
name: FD-Clone-Linux-XPU
uses: ./.github/workflows/_clone_linux.yml
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}
xpu_build_test:
name: xpu_build_test
needs: [clone]
uses: ./.github/workflows/_build_xpu.yml
with:
FASTDEPLOY_ARCHIVE_URL: ${{ needs.clone.outputs.repo_archive_url }}
DOCKER_IMAGE: ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/fastdeploy-xpu:ci
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}
xpu_4cards_case_test:
name: xpu_4cards_case_test
needs: [clone, xpu_build_test]
uses: ./.github/workflows/_xpu_4cards_case_test.yml
with:
FASTDEPLOY_ARCHIVE_URL: ${{ needs.clone.outputs.repo_archive_url }}
DOCKER_IMAGE: ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/fastdeploy-xpu:ci
FASTDEPLOY_WHEEL_URL: ${{ needs.xpu_build_test.outputs.wheel_path }}
MODEL_PATH: /ssd3/model
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}
xpu_8cards_case_test:
name: xpu_8cards_case_test
needs: [clone, xpu_build_test]
uses: ./.github/workflows/_xpu_8cards_case_test.yml
with:
FASTDEPLOY_ARCHIVE_URL: ${{ needs.clone.outputs.repo_archive_url }}
DOCKER_IMAGE: ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/fastdeploy-xpu:ci
FASTDEPLOY_WHEEL_URL: ${{ needs.xpu_build_test.outputs.wheel_path }}
MODEL_PATH: /ssd3/model
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}