-
Notifications
You must be signed in to change notification settings - Fork 744
77 lines (69 loc) · 2.8 KB
/
ci_xpu.yml
File metadata and controls
77 lines (69 loc) · 2.8 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
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 }}
xpu_unit_test:
name: xpu_unit_test
needs: [clone, xpu_build_test]
uses: ./.github/workflows/_xpu_unit_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 }}
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}
xpu_coverage_report:
name: xpu_coverage_report
needs: [clone, xpu_4cards_case_test, xpu_8cards_case_test, xpu_unit_test]
if: ${{ always() && needs.clone.result == 'success' }}
uses: ./.github/workflows/_xpu_coverage_report.yml
with:
DOCKER_IMAGE: ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/fastdeploy-xpu:ci
FASTDEPLOY_ARCHIVE_URL: ${{ needs.clone.outputs.repo_archive_url }}
COVERAGE_UNIT_TEST_URL: ${{ needs.xpu_unit_test.outputs.coverage_data_url }}
COVERAGE_4CARDS_URL: ${{ needs.xpu_4cards_case_test.outputs.coverage_data_url }}
COVERAGE_8CARDS_URL: ${{ needs.xpu_8cards_case_test.outputs.coverage_data_url }}
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}