@@ -21,6 +21,7 @@ permissions:
2121
2222jobs :
2323 create-check :
24+ if : false
2425 runs-on : [Linux, aux-tasks]
2526 permissions :
2627 checks : write
@@ -45,78 +46,107 @@ jobs:
4546 })
4647
4748 aws-start :
49+ if : false
4850 runs-on : ubuntu-latest
49- environment : aws
5051 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 }}
52+ - run : echo 'do nothing'
53+ # create-check:
54+ # runs-on: [Linux, aux-tasks]
55+ # permissions:
56+ # checks: write
57+ # statuses: write
58+ # steps:
59+ # - uses: actions/github-script@v7
60+ # with:
61+ # script: |
62+ # const sha = context.payload.workflow_run.head_sha
63+ # const run_id = '${{ github.run_id }}'
64+ # const this_run_url = 'https://github.com/' + context.repo.owner + '/' + context.repo.repo + '/actions/runs/' + run_id
6265
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 }}
66+ # // Create commit status.
67+ # await github.request('POST /repos/{owner}/{repo}/statuses/{sha}', {
68+ # owner: context.repo.owner,
69+ # repo: context.repo.repo,
70+ # sha: sha,
71+ # state: 'pending',
72+ # target_url: this_run_url,
73+ # description: 'SYCL E2E on AWS CUDA',
74+ # context: 'SYCL E2E on AWS CUDA',
75+ # })
7576
76- sycl_toolchain_artifact : sycl_linux_default
77- sycl_toolchain_archive : llvm_sycl.tar.zst
78- sycl_toolchain_decompress_command : zstd
77+ # aws-start:
78+ # runs-on: ubuntu-latest
79+ # environment: aws
80+ # steps:
81+ # - uses: actions/checkout@v4
82+ # with:
83+ # sparse-checkout: devops/actions/aws-ec2
84+ # - run: npm install ./devops/actions/aws-ec2
85+ # - uses: ./devops/actions/aws-ec2
86+ # with:
87+ # mode: start
88+ # 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"}]'
89+ # GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
90+ # AWS_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }}
91+ # AWS_SECRET_KEY: ${{ secrets.AWS_SECRET_KEY }}
7992
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
93+ # e2e-cuda:
94+ # needs: [aws-start]
95+ # uses: ./.github/workflows/sycl-linux-run-tests.yml
96+ # with:
97+ # name: CUDA E2E
98+ # runner: '["aws_cuda-${{ github.event.workflow_run.id }}-${{ github.event.workflow_run.run_attempt }}"]'
99+ # image: ghcr.io/intel/llvm/ubuntu2204_build:latest
100+ # image_options: -u 1001 --gpus all --cap-add SYS_ADMIN --env NVIDIA_DISABLE_REQUIRE=1
101+ # target_devices: cuda:gpu
102+ # # No idea why but that seems to work and be in sync with the main
103+ # # pre-commit workflow.
104+ # repo_ref: ${{ github.event.workflow_run.referenced_workflows[0].sha }}
94105
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- })
106+ # sycl_toolchain_artifact: sycl_linux_default
107+ # sycl_toolchain_archive: llvm_sycl.tar.zst
108+ # sycl_toolchain_decompress_command: zstd
105109
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+ # update-check:
111+ # needs: [create-check, e2e-cuda]
112+ # if: always()
113+ # runs-on: [Linux, aux-tasks]
114+ # permissions:
115+ # checks: write
116+ # statuses: write
117+ # steps:
118+ # - uses: actions/github-script@v7
119+ # with:
120+ # script: |
121+ # const sha = context.payload.workflow_run.head_sha
122+ # const run_id = '${{ github.run_id }}'
123+ # const this_run_url = 'https://github.com/' + context.repo.owner + '/' + context.repo.repo + '/actions/runs/' + run_id
124+
125+ # // Update commit status.
126+ # await github.request('POST /repos/{owner}/{repo}/statuses/{sha}', {
127+ # owner: context.repo.owner,
128+ # repo: context.repo.repo,
129+ # sha: sha,
130+ # state: '${{ needs.e2e-cuda.result }}',
131+ # target_url: this_run_url,
132+ # description: 'SYCL E2E on AWS CUDA',
133+ # context: 'SYCL E2E on AWS CUDA',
134+ # })
135+
136+ # aws-stop:
137+ # needs: [aws-start, e2e-cuda]
138+ # if: always()
139+ # runs-on: ubuntu-latest
140+ # environment: aws
141+ # steps:
142+ # - uses: actions/checkout@v4
143+ # with:
144+ # sparse-checkout: devops/actions/aws-ec2
145+ # - run: npm install ./devops/actions/aws-ec2
146+ # - uses: ./devops/actions/aws-ec2
147+ # with:
148+ # mode: stop
149+ # 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"}]'
150+ # GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
151+ # AWS_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }}
152+ # AWS_SECRET_KEY: ${{ secrets.AWS_SECRET_KEY }}
0 commit comments