File tree Expand file tree Collapse file tree 8 files changed +21
-104
lines changed Expand file tree Collapse file tree 8 files changed +21
-104
lines changed Original file line number Diff line number Diff line change 12
12
# types: [opened, synchronize, reopened]
13
13
# branches: [develop]
14
14
schedule :
15
- - cron : " 5 0 * * 0"
15
+ - cron : " 5 0 * * 0" # every Sunday at 00:05
16
+ workflow_dispatch : # allow to manually trigger the workflow
16
17
17
18
concurrency :
18
19
group : ${{ github.workflow }}-${{ github.event.pull_request.number }}
30
31
jobs :
31
32
build-ci-docker-images :
32
33
name : build-ci-docker-images
34
+ if : github.ref == 'refs/heads/develop'
33
35
runs-on : [self-hosted, ernie-8gpu]
34
36
outputs :
35
37
run_build : ${{ steps.set_flags.outputs.run_build }}
75
77
git fetch origin pull/${PR_ID}/head
76
78
git checkout -b PR_${PR_ID} FETCH_HEAD
77
79
git remote add upstream https://github.com/PaddlePaddle/PaddleFormers.git
78
- git fetch upstream ${BRANCH}
80
+ git fetch upstream ${BRANCH}:${BRANCH}
79
81
git merge ${BRANCH} --no-edit
80
82
git diff --numstat ${BRANCH} -- | awk "{print \$NF}"
81
83
else
Original file line number Diff line number Diff line change 1
1
name : Build Whl CE
2
2
3
- on : [push]
4
-
3
+ on :
4
+ push :
5
+ branches :
6
+ - develop
7
+
5
8
concurrency :
6
9
group : build-${{ github.workflow }}
7
10
cancel-in-progress : true
31
34
work_dir : ${{ github.workspace }}
32
35
FLAGS_dynamic_static_unified_comm : " True"
33
36
python_version : " 3.10"
34
- paddle_whl : https://paddle-qa.bj.bcebos.com/paddle-pipeline/Develop-GpuSome-LinuxCentos-Gcc82-Cuda118-Cudnn86-Trt85-Py310-CENN-Compile/latest/paddlepaddle_gpu-0.0.0-cp310-cp310-linux_x86_64.whl
37
+ paddle : https://paddle-qa.bj.bcebos.com/paddle-pipeline/Develop-GpuSome-LinuxCentos-Gcc82-Cuda118-Cudnn86-Trt85-Py310-CENN-Compile/latest/paddlepaddle_gpu-0.0.0-cp310-cp310-linux_x86_64.whl
35
38
run : |
36
39
container_name=${TASK}-$(date +%Y%m%d-%H%M%S)
37
40
echo "container_name=${container_name}" >> "$GITHUB_ENV"
46
49
-e ce_scripts \
47
50
-e no_proxy \
48
51
-e CE_name \
49
- -e paddle_whl \
52
+ -e paddle \
50
53
-e FLAGS_dynamic_static_unified_comm \
51
54
-e python_version \
52
55
-w /workspace --runtime=nvidia $IMAGE_NAME
Original file line number Diff line number Diff line change @@ -2,7 +2,8 @@ name: Deadlink CE
2
2
3
3
on :
4
4
schedule :
5
- - cron : " 0 16 * * 1"
5
+ - cron : " 0 8 * * 6" # every Saturday at 6:00 AM
6
+ workflow_dispatch : # allow to manually trigger the workflow
6
7
7
8
concurrency :
8
9
group : deadlink-${{ github.workflow }}
@@ -22,6 +23,7 @@ defaults:
22
23
jobs :
23
24
deadlink-ce :
24
25
name : deadlink-ce
26
+ if : github.ref == 'refs/heads/develop'
25
27
runs-on : [self-hosted, ernie-8gpu]
26
28
steps :
27
29
- name : Determine Image Name
83
85
ln -sf $(which python${python_version}) /usr/bin/python3
84
86
pip config set global.cache-dir "/home/.cache/pip"
85
87
set -e
86
- cd /workspace/PaddleFormers && git config --global --add safe.directory $PWD
87
88
python -m pip install beautifulsoup4 openpyxl
88
89
bash run.sh PaddleFormers develop [email protected] PaddleFormers死链检测汇总报告
89
90
'
Original file line number Diff line number Diff line change @@ -2,7 +2,8 @@ name: Unittest GPU CE
2
2
3
3
on :
4
4
schedule :
5
- - cron : " 0 16 * * 0"
5
+ - cron : " 0 6 * * 6"
6
+ workflow_dispatch : # allow to manually trigger the workflow
6
7
7
8
concurrency :
8
9
group : unittest-${{ github.workflow }}
@@ -24,6 +25,7 @@ defaults:
24
25
jobs :
25
26
unittest-gpu-ce :
26
27
name : unittest-gpu-ce
28
+ if : github.ref == 'refs/heads/develop'
27
29
runs-on : [self-hosted, ernie-8gpu]
28
30
steps :
29
31
- name : Determine Image Name
81
83
pip config set global.cache-dir "/home/.cache/pip"
82
84
set -e
83
85
cd /workspace/PaddleFormers && git config --global --add safe.directory $PWD
84
- timeout 1h bash scripts/unit_test/ci_unit.sh ${paddle} true
86
+ timeout 2h bash scripts/unit_test/ci_unit.sh ${paddle} true
85
87
'
86
88
87
89
- name : Upload Allure-reports & Logs
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 61
61
git fetch origin pull/${PR_ID}/head
62
62
git checkout -b PR_${PR_ID} FETCH_HEAD
63
63
git remote add upstream https://github.com/PaddlePaddle/PaddleFormers.git
64
- git fetch upstream ${BRANCH}
64
+ git fetch upstream ${BRANCH}:${BRANCH}
65
65
git merge ${BRANCH} --no-edit
66
66
git diff --numstat ${BRANCH} -- | awk "{print \$NF}"
67
67
else
Original file line number Diff line number Diff line change @@ -2,11 +2,8 @@ name: Unittest GPU CI
2
2
3
3
on :
4
4
pull_request :
5
- branches :
6
- - develop
7
- - ' release*'
8
5
schedule :
9
- - cron : " 4 0 * * *"
6
+ - cron : " 3 0 * * *"
10
7
workflow_call :
11
8
inputs :
12
9
run_downstream :
101
98
git fetch origin pull/${PR_ID}/head
102
99
git checkout -b PR_${PR_ID} FETCH_HEAD
103
100
git remote add upstream https://github.com/PaddlePaddle/PaddleFormers.git
104
- git fetch upstream ${BRANCH}
101
+ git fetch upstream ${BRANCH}:${BRANCH}
105
102
git merge ${BRANCH} --no-edit
106
103
git diff --numstat ${BRANCH} -- | awk "{print \$NF}"
107
104
else
You can’t perform that action at this time.
0 commit comments