Skip to content

Commit 585278a

Browse files
[CI][1/N] Debugging experimental approach to pre-commit
Temporarily switch tasks to use cuda runner to improve turnaround time, use more debug prints.
1 parent b1c5719 commit 585278a

File tree

2 files changed

+18
-15
lines changed

2 files changed

+18
-15
lines changed

.github/workflows/sycl_exp_precommit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
build:
10-
runs-on: [Linux, build]
10+
runs-on: [cuda]
1111
steps:
1212
- run: echo "Build successful"
1313

.github/workflows/sycl_precommit_aws.yml

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,29 @@ on:
88
- completed
99

1010
jobs:
11-
start-aws:
12-
runs-on: ubuntu-20.04
11+
aws:
12+
runs-on: [cuda]
1313
environment: aws
1414
steps:
15-
- uses: actions/checkout@v3
16-
with:
17-
sparse-checkout: devops/actions/aws-ec2
18-
- run: npm install ./devops/actions/aws-ec2
15+
# - uses: actions/checkout@v3
16+
# with:
17+
# sparse-checkout: devops/actions/aws-ec2
18+
# - run: npm install ./devops/actions/aws-ec2
19+
- run: echo "${{ github.event.action }}"
1920
- id: mode
2021
run: |
2122
if [ "${{ github.event.action }}" == "completed" ]; then
2223
echo 'MODE=stop' >> $GITHUB_OUTPUT
2324
else
2425
echo 'MODE=start' >> $GITHUB_OUTPUT
2526
fi
26-
- uses: ./devops/actions/aws-ec2
27-
with:
28-
mode: ${{ steps.mode.outputs.MODE }}
29-
runs-on-list: '[{"runs-on":"aws_cuda-${{ github.run_id }}-${{ github.run_attempt }}","aws-ami":"ami-01cb0573cb039ab24","aws-disk":"/dev/sda1:64","aws-spot":"false"}]'
30-
# runs-on-list: '[{"runs-on":"aws_cuda-${{ github.run_id }}-${{ github.run_attempt }}","aws-ami":"ami-01cb0573cb039ab24","aws-type":["g5.2xlarge","g5.4xlarge"],"aws-disk":"/dev/sda1:64","aws-spot":"false"}]'
31-
GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
32-
AWS_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }}
33-
AWS_SECRET_KEY: ${{ secrets.AWS_SECRET_KEY }}
27+
- run: echo "${{ steps.mode.outputs.MODE }}"
28+
- run: echo '[{"runs-on":"aws_cuda-${{ github.run_id }}-${{ github.run_attempt }}","aws-ami":"ami-01cb0573cb039ab24","aws-type":["g5.2xlarge","g5.4xlarge"],"aws-disk":"/dev/sda1:64","aws-spot":"false"}]'
29+
# - uses: ./devops/actions/aws-ec2
30+
# with:
31+
# mode: ${{ steps.mode.outputs.MODE }}
32+
# runs-on-list: '[{"runs-on":"aws_cuda-${{ github.run_id }}-${{ github.run_attempt }}","aws-ami":"ami-01cb0573cb039ab24","aws-disk":"/dev/sda1:64","aws-spot":"false"}]'
33+
# # runs-on-list: '[{"runs-on":"aws_cuda-${{ github.run_id }}-${{ github.run_attempt }}","aws-ami":"ami-01cb0573cb039ab24","aws-type":["g5.2xlarge","g5.4xlarge"],"aws-disk":"/dev/sda1:64","aws-spot":"false"}]'
34+
# GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
35+
# AWS_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }}
36+
# AWS_SECRET_KEY: ${{ secrets.AWS_SECRET_KEY }}

0 commit comments

Comments
 (0)