File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change @@ -191,3 +191,50 @@ jobs:
191
191
- name : Upload to S3
192
192
run : |
193
193
aws s3 cp analyzer/dist/*.whl s3://centml-habitat/wheels-cu116
194
+
195
+ whl-build-cu117 :
196
+ runs-on : [self-hosted, cu117]
197
+ steps :
198
+ - name : Configure AWS Credentials
199
+ uses : aws-actions/configure-aws-credentials@v1
200
+ with :
201
+ aws-access-key-id : ${{ secrets.PROD_AWS_ACCESS_KEY_ID }}
202
+ aws-region : ${{ secrets.AWS_REGION }}
203
+ aws-secret-access-key : ${{ secrets.PROD_AWS_SECRET_ACCESS_KEY }}
204
+
205
+ - name : Display host information
206
+ run : |
207
+ uname -a
208
+ hostname
209
+ pwd
210
+ id
211
+ ls -la
212
+
213
+ - name : Fetch repository
214
+ uses : actions/checkout@v3
215
+
216
+ - name : Build Python3.7 wheel
217
+ run : |
218
+ /home/builduser/build_habitat.sh python3.7 py37
219
+
220
+ - name : Build Python3.8 wheel
221
+ run : |
222
+ /home/builduser/build_habitat.sh python3.8 py38
223
+
224
+ - name : Build Python3.9 wheel
225
+ run : |
226
+ /home/builduser/build_habitat.sh python3.9 py39
227
+
228
+ - name : Build Python3.10 wheel
229
+ run : |
230
+ /home/builduser/build_habitat.sh python3.10 py310
231
+
232
+ - name : Upload wheel artifact
233
+ uses : actions/upload-artifact@v3
234
+ with :
235
+ name : wheels-cu117
236
+ path : analyzer/dist/*.whl
237
+
238
+ - name : Upload to S3
239
+ run : |
240
+ aws s3 cp analyzer/dist/*.whl s3://centml-habitat/wheels-cu117
You can’t perform that action at this time.
0 commit comments