Skip to content

Commit

Permalink
Revert changes to nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
ayylol committed Dec 11, 2024
1 parent db07df4 commit dcf422e
Showing 1 changed file with 11 additions and 102 deletions.
113 changes: 11 additions & 102 deletions .github/workflows/sycl-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ jobs:
artifact_archive_name: sycl_linux.tar.gz

ubuntu2204_shared_build:
if: false
#if: github.repository == 'intel/llvm'
if: github.repository == 'intel/llvm'
uses: ./.github/workflows/sycl-linux-build.yml
secrets: inherit
with:
Expand All @@ -37,93 +36,9 @@ jobs:

artifact_archive_name: sycl_linux_shared.tar.zst

ubuntu2204_split_test_build:
needs: [ubuntu2204_build]
if: ${{ always() && !cancelled() && needs.ubuntu2204_build.outputs.build_conclusion == 'success' }}
uses: ./.github/workflows/sycl-linux-run-tests.yml
with:
name: Build e2e tests
runner: '["Linux", "build"]'
image: ghcr.io/intel/llvm/ubuntu2204_intel_drivers:alldeps
image_options: -u 1001
target_devices: opencl:cpu
tests_selector: e2e
extra_lit_opts: --param test-mode=build-only
ref: ${{ github.sha }}
merge_ref: ''
sycl_toolchain_artifact: sycl_linux_default
sycl_toolchain_archive: ${{ needs.ubuntu2204_build.outputs.artifact_archive_name }}
sycl_toolchain_decompress_command: ${{ needs.ubuntu2204_build.outputs.artifact_decompress_command }}
upload_artifact: 'true'

ubuntu2204_split_test_run:
needs: [ubuntu2204_build, ubuntu2204_split_test_build]
if: ${{ always() && !cancelled() && needs.ubuntu2204_build.outputs.build_conclusion == 'success' }}
strategy:
fail-fast: false
matrix:
include:
- name: Intel L0 GPU
runner: '["Linux", "gen12"]'
image: ghcr.io/intel/llvm/ubuntu2204_intel_drivers:latest
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
target_devices: level_zero:gpu
reset_intel_gpu: true
tests_selector: e2e
extra_lit_opts: --param gpu-intel-gen12=True

- name: Intel OCL GPU
runner: '["Linux", "gen12"]'
image: ghcr.io/intel/llvm/ubuntu2204_intel_drivers:latest
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
target_devices: opencl:gpu
reset_intel_gpu: true
tests_selector: e2e
extra_lit_opts: --param gpu-intel-gen12=True

- name: OCL CPU (AMD)
runner: '["Linux", "amdgpu"]'
image: ghcr.io/intel/llvm/ubuntu2204_intel_drivers:latest
image_options: -u 1001
target_devices: opencl:cpu
tests_selector: e2e

- name: OCL CPU (Intel/GEN12)
runner: '["Linux", "gen12"]'
image: ghcr.io/intel/llvm/ubuntu2204_intel_drivers:latest
image_options: -u 1001 --privileged --cap-add SYS_ADMIN
target_devices: opencl:cpu
tests_selector: e2e

- name: OCL CPU (Intel/Arc)
runner: '["Linux", "arc"]'
image: ghcr.io/intel/llvm/ubuntu2204_intel_drivers:latest
image_options: -u 1001
target_devices: opencl:cpu
tests_selector: e2e
uses: ./.github/workflows/sycl-linux-run-tests.yml
with:
name: ${{ matrix.name }}
runner: ${{ matrix.runner }}
image: ${{ matrix.image }}
image_options: ${{ matrix.image_options }}
target_devices: ${{ matrix.target_devices }}
tests_selector: ${{ matrix.tests_selector }}
extra_lit_opts: --param test-mode=run-only ${{ matrix.extra_lit_opts }}
reset_intel_gpu: ${{ matrix.reset_intel_gpu }}
ref: ${{ github.sha }}
merge_ref: ''
sycl_toolchain_artifact: sycl_linux_default
sycl_toolchain_archive: ${{ needs.ubuntu2204_build.outputs.artifact_archive_name }}
sycl_toolchain_decompress_command: ${{ needs.ubuntu2204_build.outputs.artifact_decompress_command }}
e2e_binaries_artifact: sycl_e2e_bin_default
e2e_binaries_archive: ${{ needs.ubuntu2204_split_test_build.outputs.artifact_archive_name }}
e2e_binaries_decompress_command: ${{ needs.ubuntu2204_split_test_build.outputs.artifact_decompress_command }}

ubuntu2204_test:
needs: [ubuntu2204_build]
if: false
#if: ${{ always() && !cancelled() && needs.ubuntu2204_build.outputs.build_conclusion == 'success' }}
if: ${{ always() && !cancelled() && needs.ubuntu2204_build.outputs.build_conclusion == 'success' }}
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -205,8 +120,7 @@ jobs:

build-win:
uses: ./.github/workflows/sycl-windows-build.yml
if: false
#if: github.repository == 'intel/llvm'
if: github.repository == 'intel/llvm'
with:
retention-days: 90
# We upload both Linux/Windows build via Github's "Releases"
Expand All @@ -216,11 +130,10 @@ jobs:
e2e-win:
needs: build-win
# Continue if build was successful.
#if: |
# always()
# && !cancelled()
# && needs.build-win.outputs.build_conclusion == 'success'
if: false
if: |
always()
&& !cancelled()
&& needs.build-win.outputs.build_conclusion == 'success'
uses: ./.github/workflows/sycl-windows-run-tests.yml
with:
name: Intel GEN12 Graphics with Level Zero
Expand All @@ -230,17 +143,15 @@ jobs:

cuda-aws-start:
needs: [ubuntu2204_build]
if: false
#if: ${{ always() && !cancelled() && needs.ubuntu2204_build.outputs.build_conclusion == 'success' }}
if: ${{ always() && !cancelled() && needs.ubuntu2204_build.outputs.build_conclusion == 'success' }}
uses: ./.github/workflows/sycl-aws.yml
secrets: inherit
with:
mode: start

cuda-run-tests:
needs: [ubuntu2204_build, cuda-aws-start]
if: false
#if: ${{ always() && !cancelled() && needs.ubuntu2204_build.outputs.build_conclusion == 'success' }}
if: ${{ always() && !cancelled() && needs.ubuntu2204_build.outputs.build_conclusion == 'success' }}
uses: ./.github/workflows/sycl-linux-run-tests.yml
with:
name: CUDA E2E
Expand All @@ -257,8 +168,7 @@ jobs:

cuda-aws-stop:
needs: [cuda-aws-start, cuda-run-tests]
if: false
#if: always()
if: always()
uses: ./.github/workflows/sycl-aws.yml
secrets: inherit
with:
Expand Down Expand Up @@ -300,8 +210,7 @@ jobs:
target_commitish: ${{ github.sha }}

ubuntu2204_docker_build_push:
if: false
#if: github.repository == 'intel/llvm'
if: github.repository == 'intel/llvm'
runs-on: [Linux, build]
permissions:
packages: write
Expand Down

0 comments on commit dcf422e

Please sign in to comment.