@@ -20,103 +20,107 @@ permissions:
20
20
contents : read
21
21
22
22
jobs :
23
- create-check :
24
- runs-on : [Linux, aux-tasks]
25
- permissions :
26
- checks : write
27
- statuses : write
23
+ do-nothing :
24
+ runs-on : ubuntu-latest
28
25
steps :
29
- - uses : actions/github-script@v7
30
- with :
31
- script : |
32
- const sha = context.payload.workflow_run.head_sha
33
- const run_id = '${{ github.run_id }}'
34
- const this_run_url = 'https://github.com/' + context.repo.owner + '/' + context.repo.repo + '/actions/runs/' + run_id
26
+ - run : echo 'do nothing'
27
+ # create-check:
28
+ # runs-on: [Linux, aux-tasks]
29
+ # permissions:
30
+ # checks: write
31
+ # statuses: write
32
+ # steps:
33
+ # - uses: actions/github-script@v7
34
+ # with:
35
+ # script: |
36
+ # const sha = context.payload.workflow_run.head_sha
37
+ # const run_id = '${{ github.run_id }}'
38
+ # const this_run_url = 'https://github.com/' + context.repo.owner + '/' + context.repo.repo + '/actions/runs/' + run_id
35
39
36
- // Create commit status.
37
- await github.request('POST /repos/{owner}/{repo}/statuses/{sha}', {
38
- owner: context.repo.owner,
39
- repo: context.repo.repo,
40
- sha: sha,
41
- state: 'pending',
42
- target_url: this_run_url,
43
- description: 'SYCL E2E on AWS CUDA',
44
- context: 'SYCL E2E on AWS CUDA',
45
- })
40
+ # // Create commit status.
41
+ # await github.request('POST /repos/{owner}/{repo}/statuses/{sha}', {
42
+ # owner: context.repo.owner,
43
+ # repo: context.repo.repo,
44
+ # sha: sha,
45
+ # state: 'pending',
46
+ # target_url: this_run_url,
47
+ # description: 'SYCL E2E on AWS CUDA',
48
+ # context: 'SYCL E2E on AWS CUDA',
49
+ # })
46
50
47
- aws-start :
48
- runs-on : ubuntu-latest
49
- environment : aws
50
- steps :
51
- - uses : actions/checkout@v4
52
- with :
53
- sparse-checkout : devops/actions/aws-ec2
54
- - run : npm install ./devops/actions/aws-ec2
55
- - uses : ./devops/actions/aws-ec2
56
- with :
57
- mode : start
58
- runs-on-list : ' [{"runs-on":"aws_cuda-${{ github.event.workflow_run.id }}-${{ github.event.workflow_run.run_attempt }}","aws-ami":"ami-01cb0573cb039ab24","aws-type":["g5.2xlarge","g5.4xlarge"],"aws-disk":"/dev/sda1:64","aws-spot":"false"}]'
59
- GH_PERSONAL_ACCESS_TOKEN : ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
60
- AWS_ACCESS_KEY : ${{ secrets.AWS_ACCESS_KEY }}
61
- AWS_SECRET_KEY : ${{ secrets.AWS_SECRET_KEY }}
51
+ # aws-start:
52
+ # runs-on: ubuntu-latest
53
+ # environment: aws
54
+ # steps:
55
+ # - uses: actions/checkout@v4
56
+ # with:
57
+ # sparse-checkout: devops/actions/aws-ec2
58
+ # - run: npm install ./devops/actions/aws-ec2
59
+ # - uses: ./devops/actions/aws-ec2
60
+ # with:
61
+ # mode: start
62
+ # runs-on-list: '[{"runs-on":"aws_cuda-${{ github.event.workflow_run.id }}-${{ github.event.workflow_run.run_attempt }}","aws-ami":"ami-01cb0573cb039ab24","aws-type":["g5.2xlarge","g5.4xlarge"],"aws-disk":"/dev/sda1:64","aws-spot":"false"}]'
63
+ # GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
64
+ # AWS_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }}
65
+ # AWS_SECRET_KEY: ${{ secrets.AWS_SECRET_KEY }}
62
66
63
- e2e-cuda :
64
- needs : [aws-start]
65
- uses : ./.github/workflows/sycl-linux-run-tests.yml
66
- with :
67
- name : CUDA E2E
68
- runner : ' ["aws_cuda-${{ github.event.workflow_run.id }}-${{ github.event.workflow_run.run_attempt }}"]'
69
- image : ghcr.io/intel/llvm/ubuntu2204_build:latest
70
- image_options : -u 1001 --gpus all --cap-add SYS_ADMIN --env NVIDIA_DISABLE_REQUIRE=1
71
- target_devices : cuda:gpu
72
- # No idea why but that seems to work and be in sync with the main
73
- # pre-commit workflow.
74
- repo_ref : ${{ github.event.workflow_run.referenced_workflows[0].sha }}
67
+ # e2e-cuda:
68
+ # needs: [aws-start]
69
+ # uses: ./.github/workflows/sycl-linux-run-tests.yml
70
+ # with:
71
+ # name: CUDA E2E
72
+ # runner: '["aws_cuda-${{ github.event.workflow_run.id }}-${{ github.event.workflow_run.run_attempt }}"]'
73
+ # image: ghcr.io/intel/llvm/ubuntu2204_build:latest
74
+ # image_options: -u 1001 --gpus all --cap-add SYS_ADMIN --env NVIDIA_DISABLE_REQUIRE=1
75
+ # target_devices: cuda:gpu
76
+ # # No idea why but that seems to work and be in sync with the main
77
+ # # pre-commit workflow.
78
+ # repo_ref: ${{ github.event.workflow_run.referenced_workflows[0].sha }}
75
79
76
- sycl_toolchain_artifact : sycl_linux_default
77
- sycl_toolchain_archive : llvm_sycl.tar.zst
78
- sycl_toolchain_decompress_command : zstd
80
+ # sycl_toolchain_artifact: sycl_linux_default
81
+ # sycl_toolchain_archive: llvm_sycl.tar.zst
82
+ # sycl_toolchain_decompress_command: zstd
79
83
80
- update-check :
81
- needs : [create-check, e2e-cuda]
82
- if : always()
83
- runs-on : [Linux, aux-tasks]
84
- permissions :
85
- checks : write
86
- statuses : write
87
- steps :
88
- - uses : actions/github-script@v7
89
- with :
90
- script : |
91
- const sha = context.payload.workflow_run.head_sha
92
- const run_id = '${{ github.run_id }}'
93
- const this_run_url = 'https://github.com/' + context.repo.owner + '/' + context.repo.repo + '/actions/runs/' + run_id
84
+ # update-check:
85
+ # needs: [create-check, e2e-cuda]
86
+ # if: always()
87
+ # runs-on: [Linux, aux-tasks]
88
+ # permissions:
89
+ # checks: write
90
+ # statuses: write
91
+ # steps:
92
+ # - uses: actions/github-script@v7
93
+ # with:
94
+ # script: |
95
+ # const sha = context.payload.workflow_run.head_sha
96
+ # const run_id = '${{ github.run_id }}'
97
+ # const this_run_url = 'https://github.com/' + context.repo.owner + '/' + context.repo.repo + '/actions/runs/' + run_id
94
98
95
- // Update commit status.
96
- await github.request('POST /repos/{owner}/{repo}/statuses/{sha}', {
97
- owner: context.repo.owner,
98
- repo: context.repo.repo,
99
- sha: sha,
100
- state: '${{ needs.e2e-cuda.result }}',
101
- target_url: this_run_url,
102
- description: 'SYCL E2E on AWS CUDA',
103
- context: 'SYCL E2E on AWS CUDA',
104
- })
99
+ # // Update commit status.
100
+ # await github.request('POST /repos/{owner}/{repo}/statuses/{sha}', {
101
+ # owner: context.repo.owner,
102
+ # repo: context.repo.repo,
103
+ # sha: sha,
104
+ # state: '${{ needs.e2e-cuda.result }}',
105
+ # target_url: this_run_url,
106
+ # description: 'SYCL E2E on AWS CUDA',
107
+ # context: 'SYCL E2E on AWS CUDA',
108
+ # })
105
109
106
- aws-stop :
107
- needs : [aws-start, e2e-cuda]
108
- if : always()
109
- runs-on : ubuntu-latest
110
- environment : aws
111
- steps :
112
- - uses : actions/checkout@v4
113
- with :
114
- sparse-checkout : devops/actions/aws-ec2
115
- - run : npm install ./devops/actions/aws-ec2
116
- - uses : ./devops/actions/aws-ec2
117
- with :
118
- mode : stop
119
- runs-on-list : ' [{"runs-on":"aws_cuda-${{ github.event.workflow_run.id }}-${{ github.event.workflow_run.run_attempt }}","aws-ami":"ami-01cb0573cb039ab24","aws-type":["g5.2xlarge","g5.4xlarge"],"aws-disk":"/dev/sda1:64","aws-spot":"false"}]'
120
- GH_PERSONAL_ACCESS_TOKEN : ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
121
- AWS_ACCESS_KEY : ${{ secrets.AWS_ACCESS_KEY }}
122
- AWS_SECRET_KEY : ${{ secrets.AWS_SECRET_KEY }}
110
+ # aws-stop:
111
+ # needs: [aws-start, e2e-cuda]
112
+ # if: always()
113
+ # runs-on: ubuntu-latest
114
+ # environment: aws
115
+ # steps:
116
+ # - uses: actions/checkout@v4
117
+ # with:
118
+ # sparse-checkout: devops/actions/aws-ec2
119
+ # - run: npm install ./devops/actions/aws-ec2
120
+ # - uses: ./devops/actions/aws-ec2
121
+ # with:
122
+ # mode: stop
123
+ # runs-on-list: '[{"runs-on":"aws_cuda-${{ github.event.workflow_run.id }}-${{ github.event.workflow_run.run_attempt }}","aws-ami":"ami-01cb0573cb039ab24","aws-type":["g5.2xlarge","g5.4xlarge"],"aws-disk":"/dev/sda1:64","aws-spot":"false"}]'
124
+ # GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
125
+ # AWS_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }}
126
+ # AWS_SECRET_KEY: ${{ secrets.AWS_SECRET_KEY }}
0 commit comments