File tree Expand file tree Collapse file tree 10 files changed +325
-5
lines changed Expand file tree Collapse file tree 10 files changed +325
-5
lines changed Original file line number Diff line number Diff line change 54
54
steps :
55
55
- name : Check docker image and run container
56
56
env :
57
+ CACHE_DIR : " /root/.cache/coverage"
57
58
CCACHE_DIR : " /root/.ccache/coverage"
58
59
FLAGS_fraction_of_gpu_memory_to_use : 0.15
59
60
CTEST_PARALLEL_LEVEL : 2
99
100
-e work_dir \
100
101
-e PADDLE_ROOT \
101
102
-e GIT_PR_ID \
103
+ -e CACHE_DIR \
102
104
-e CCACHE_DIR \
103
105
-e ci_scripts \
104
106
-e FLAGS_fraction_of_gpu_memory_to_use \
@@ -161,6 +163,7 @@ jobs:
161
163
mkdir -p /home/data/cfs/.cache/coverage
162
164
mkdir -p /home/data/cfs/.ccache/coverage
163
165
source ${{ github.workspace }}/../../../proxy
166
+ bash ${ci_scripts}/cmake-predownload.sh
164
167
bash $ci_scripts/coverage_build.sh bdist_wheel
165
168
'
166
169
Original file line number Diff line number Diff line change @@ -164,6 +164,7 @@ jobs:
164
164
run : |
165
165
docker exec -t ${{ env.container_name }} /bin/bash -c '
166
166
source ${{ github.workspace }}/../../../proxy
167
+ bash ${ci_scripts}/cmake-predownload.sh
167
168
bash ${ci_scripts}/run_setup.sh bdist_wheel
168
169
'
169
170
Original file line number Diff line number Diff line change @@ -131,6 +131,7 @@ jobs:
131
131
run : |
132
132
docker exec -t ${container_name} /bin/bash -c '
133
133
source /action-runner/proxy
134
+ bash ${ci_scripts}/cmake-predownload.sh
134
135
bash ${ci_scripts}/inference_build.sh
135
136
EXCODE=$?
136
137
exit $EXCODE
Original file line number Diff line number Diff line change 48
48
CCACHE_MAXSIZE : 150G
49
49
CCACHE_LIMIT_MULTIPLE : 0.8
50
50
WITH_AVX : " OFF"
51
+ CACHE_DIR : " /root/.cache/cpu"
51
52
CCACHE_DIR : " /root/.ccache/cpu"
52
53
run : |
53
54
container_name=${TASK}-$(date +%Y%m%d-%H%M%S)
84
85
-e GITHUB_ENV \
85
86
-e ci_scripts \
86
87
-e WITH_AVX \
88
+ -e CACHE_DIR \
87
89
-e CCACHE_DIR \
88
90
-e CI_name \
89
91
-e no_proxy \
@@ -125,6 +127,7 @@ jobs:
125
127
run : |
126
128
docker exec -t ${{ env.container_name }} /bin/bash -c '
127
129
source ${{ github.workspace }}/../../../proxy
130
+ bash ${ci_scripts}/cmake-predownload.sh
128
131
bash ${ci_scripts}/run_setup.sh bdist_wheel
129
132
EXCODE=$?
130
133
exit $EXCODE
Original file line number Diff line number Diff line change @@ -132,6 +132,7 @@ jobs:
132
132
run : |
133
133
docker exec -t ${{ env.container_name }} /bin/bash -c '
134
134
source ${{ github.workspace }}/../../../proxy
135
+ bash ${ci_scripts}/cmake-predownload.sh
135
136
apt install zstd -y
136
137
bash ${ci_scripts}/run_setup.sh bdist_wheel
137
138
EXCODE=$?
Original file line number Diff line number Diff line change @@ -154,6 +154,7 @@ jobs:
154
154
mkdir -p /root/.cache/build
155
155
mkdir -p /root/.ccache/build
156
156
source ${{ github.workspace }}/../../../proxy
157
+ bash ${ci_scripts}/cmake-predownload.sh
157
158
bash ${ci_scripts}/run_setup.sh bdist_wheel
158
159
'
159
160
Original file line number Diff line number Diff line change 57
57
CCACHE_MAXSIZE : 150G
58
58
CCACHE_LIMIT_MULTIPLE : 0.8
59
59
WITH_AVX : " OFF"
60
+ CACHE_DIR : " /root/.cache/sot"
60
61
CCACHE_DIR : " /root/.ccache/sot"
61
62
run : |
62
63
set -x
94
95
-e GITHUB_ENV \
95
96
-e ci_scripts \
96
97
-e WITH_AVX \
98
+ -e CACHE_DIR \
97
99
-e CCACHE_DIR \
98
100
-e no_proxy \
99
101
-w /paddle --network host ${docker_image}
@@ -139,6 +141,7 @@ jobs:
139
141
docker exec -t ${{ env.container_name }} /bin/bash -c '
140
142
export PY_VERSION=3.9
141
143
source ${{ github.workspace }}/../../../proxy
144
+ bash ${ci_scripts}/cmake-predownload.sh
142
145
bash ${ci_scripts}/run_setup.sh bdist_wheel
143
146
EXCODE=$?
144
147
exit $EXCODE
You can’t perform that action at this time.
0 commit comments