Skip to content

Commit 8aca15f

Browse files
committed
update
1 parent 4e18fe6 commit 8aca15f

File tree

1 file changed

+39
-39
lines changed

1 file changed

+39
-39
lines changed

.github/workflows/pr_build_and_test.yml

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -10,41 +10,41 @@ concurrency:
1010
cancel-in-progress: true
1111

1212
jobs:
13-
# clone:
14-
# name: FD-Clone-Linux
15-
# uses: ./.github/workflows/_clone_linux.yml
13+
clone:
14+
name: FD-Clone-Linux
15+
uses: ./.github/workflows/_clone_linux.yml
1616

17-
# build:
18-
# name: FD-Build-Linux
19-
# needs: clone
20-
# uses: ./.github/workflows/_build_linux.yml
21-
# with:
22-
# DOCKER_IMAGE: ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/paddleqa:fastdeploy-ciuse-cuda126-dailyupdate
23-
# FASTDEPLOY_ARCHIVE_URL: ${{ needs.clone.outputs.repo_archive_url }}
24-
# COMPILE_ARCH: "90"
25-
# WITH_NIGHTLY_BUILD: "OFF"
26-
# FD_VERSION: "0.0.0"
17+
build:
18+
name: FD-Build-Linux
19+
needs: clone
20+
uses: ./.github/workflows/_build_linux.yml
21+
with:
22+
DOCKER_IMAGE: ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/paddleqa:fastdeploy-ciuse-cuda126-dailyupdate
23+
FASTDEPLOY_ARCHIVE_URL: ${{ needs.clone.outputs.repo_archive_url }}
24+
COMPILE_ARCH: "90"
25+
WITH_NIGHTLY_BUILD: "OFF"
26+
FD_VERSION: "0.0.0"
2727

28-
# resultshow:
29-
# name: Use Build Output
30-
# needs: build
31-
# runs-on: ubuntu-latest
32-
# steps:
33-
# - name: Print wheel path
34-
# run: |
35-
# echo "The built wheel is located at: ${{ needs.build.outputs.wheel_path }}"
28+
resultshow:
29+
name: Use Build Output
30+
needs: build
31+
runs-on: ubuntu-latest
32+
steps:
33+
- name: Print wheel path
34+
run: |
35+
echo "The built wheel is located at: ${{ needs.build.outputs.wheel_path }}"
3636
37-
# gpu_unittest:
38-
# name: Run FastDeploy Unit Tests with Coverage
39-
# needs: [clone,build]
40-
# uses: ./.github/workflows/_unit_test_coverage.yml
41-
# with:
42-
# DOCKER_IMAGE: ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/paddleqa:fastdeploy-ciuse-cuda126-dailyupdate
43-
# FASTDEPLOY_ARCHIVE_URL: ${{ needs.clone.outputs.repo_archive_url }}
44-
# FASTDEPLOY_WHEEL_URL: ${{ needs.build.outputs.wheel_path }}
45-
# MODEL_CACHE_DIR: "/ssd2/actions-runner/ModelData"
46-
# secrets:
47-
# github-token: ${{ secrets.GITHUB_TOKEN }}
37+
gpu_unittest:
38+
name: Run FastDeploy Unit Tests with Coverage
39+
needs: [clone,build]
40+
uses: ./.github/workflows/_unit_test_coverage.yml
41+
with:
42+
DOCKER_IMAGE: ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/paddleqa:fastdeploy-ciuse-cuda126-dailyupdate
43+
FASTDEPLOY_ARCHIVE_URL: ${{ needs.clone.outputs.repo_archive_url }}
44+
FASTDEPLOY_WHEEL_URL: ${{ needs.build.outputs.wheel_path }}
45+
MODEL_CACHE_DIR: "/ssd2/actions-runner/ModelData"
46+
secrets:
47+
github-token: ${{ secrets.GITHUB_TOKEN }}
4848

4949
# logprob_test:
5050
# name: Run FastDeploy LogProb Tests
@@ -96,13 +96,13 @@ jobs:
9696
# FASTDEPLOY_WHEEL_URL: ${{ needs.build.outputs.wheel_path }}
9797
# MODEL_CACHE_DIR: "/ssd2/actions-runner/ModelData"
9898

99-
# xpu_unittest:
100-
# name: Run XPU Test with Coverage
101-
# needs: [clone]
102-
# uses: ./.github/workflows/_ci_xpu.yml
103-
# with:
104-
# DOCKER_IMAGE: ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/fastdeploy-xpu-ci:latest
105-
# FASTDEPLOY_ARCHIVE_URL: ${{ needs.clone.outputs.repo_archive_url }}
99+
xpu_unittest:
100+
name: Run XPU Test with Coverage
101+
needs: [clone]
102+
uses: ./.github/workflows/_ci_xpu.yml
103+
with:
104+
DOCKER_IMAGE: ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/fastdeploy-xpu-ci:latest
105+
FASTDEPLOY_ARCHIVE_URL: ${{ needs.clone.outputs.repo_archive_url }}
106106

107107
coverage_combine:
108108
name: Coverage Combine And Check

0 commit comments

Comments
 (0)