Skip to content

Commit a58ec96

Browse files
Update sycl-post-commit.yml
1 parent b1a2b40 commit a58ec96

File tree

1 file changed

+141
-141
lines changed

1 file changed

+141
-141
lines changed
Lines changed: 141 additions & 141 deletions
Original file line numberDiff line numberDiff line change
@@ -1,141 +1,141 @@
1-
name: SYCL Post Commit
2-
3-
on:
4-
workflow_dispatch:
5-
6-
push:
7-
branches:
8-
- sycl
9-
- sycl-rel-**
10-
11-
pull_request:
12-
branches:
13-
- sycl
14-
paths:
15-
- .github/workflows/sycl-post-commit.yml
16-
- .github/workflows/sycl-linux-build.yml
17-
- .github/workflows/sycl-linux-run-tests.yml
18-
- .github/workflows/sycl-macos-build-and-test.yml
19-
- ./devops/actions/cleanup
20-
- ./devops/actions/cached_checkout
21-
- ./devops/dependencies.json
22-
- ./devops/dependencies-igc-dev.json
23-
24-
concurrency:
25-
# Cancel a currently running workflow from the same PR or commit hash.
26-
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
27-
cancel-in-progress: true
28-
29-
permissions: read-all
30-
31-
jobs:
32-
detect_changes:
33-
if: ${{ github.event_name == 'pull_request' }}
34-
uses: ./.github/workflows/sycl-detect-changes.yml
35-
36-
build-lin:
37-
name: Linux (GCC + no-assertions)
38-
if: github.repository == 'intel/llvm'
39-
uses: ./.github/workflows/sycl-linux-build.yml
40-
with:
41-
build_cache_root: "/__w/llvm"
42-
build_cache_suffix: default
43-
build_configure_extra_args: --no-assertions --hip --cuda --native_cpu -DSYCL_ENABLE_STACK_PRINTING=ON -DSYCL_LIB_WITH_DEBUG_SYMBOL=ON
44-
45-
toolchain_artifact: sycl_linux_default
46-
e2e_binaries_spirv_backend_artifact: e2e_bin_spirv_backend
47-
48-
e2e-lin:
49-
needs: [detect_changes, build-lin]
50-
if: ${{ !cancelled() && needs.build-lin.outputs.build_conclusion == 'success' }}
51-
permissions:
52-
contents: write
53-
packages: read
54-
strategy:
55-
fail-fast: false
56-
matrix:
57-
include:
58-
- name: Intel GEN12 Graphics with Level Zero
59-
runner: '["Linux", "gen12"]'
60-
target_devices: level_zero:gpu
61-
- name: Intel Arc A-Series Graphics with Level Zero
62-
runner: '["Linux", "arc"]'
63-
# Performance tests below. Specifics:
64-
# - only run performance tests (use LIT_FILTER env)
65-
# - ask llvm-lit to show all the output, even for PASS (-a)
66-
# - run in single thread (-j 1)
67-
# - enable the tests in LIT (--param enable-perf-tests=True)
68-
# - run on all available devices.
69-
- name: Perf tests on Intel GEN12 Graphics system
70-
runner: '["Linux", "gen12"]'
71-
env: '{"LIT_FILTER":"PerformanceTests/"}'
72-
extra_lit_opts: -a -j 1 --param enable-perf-tests=True
73-
target_devices: all
74-
- name: Perf tests on Intel Arc A-Series Graphics system
75-
runner: '["Linux", "arc"]'
76-
env: '{"LIT_FILTER":"PerformanceTests/"}'
77-
extra_lit_opts: -a -j 1 --param enable-perf-tests=True
78-
target_devices: all
79-
- name: SPIR-V Backend / Intel Battlemage Graphics
80-
runner: '["Linux", "bmg"]'
81-
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
82-
target_devices: level_zero:gpu;opencl:gpu;opencl:cpu
83-
extra_lit_opts: --param spirv-backend=True
84-
binaries_artifact: e2e_bin_spirv_backend
85-
testing_mode: 'run-only'
86-
uses: ./.github/workflows/sycl-linux-run-tests.yml
87-
with:
88-
name: ${{ matrix.name }}
89-
runner: ${{ matrix. runner }}
90-
image_options: ${{ matrix.image_options || '-u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN' }}
91-
target_devices: ${{ matrix.target_devices || 'level_zero:gpu' }}
92-
93-
extra_lit_opts: ${{ matrix.extra_lit_opts }}
94-
env: ${{ matrix.env || '{}' }}
95-
96-
repo_ref: ${{ github.sha }}
97-
98-
toolchain_artifact: ${{ needs.build-lin.outputs.toolchain_artifact }}
99-
toolchain_artifact_filename: ${{ needs.build-lin.outputs.toolchain_artifact_filename }}
100-
toolchain_decompress_command: ${{ needs.build-lin.outputs.toolchain_decompress_command }}
101-
102-
binaries_artifact: ${{ matrix.binaries_artifact }}
103-
testing_mode: ${{ matrix.testing_mode || 'full' }}
104-
105-
# Do not install drivers on AMD and CUDA runners.
106-
install_igc_driver: >-
107-
${{ github.event_name == 'pull_request' }} &&
108-
${{ !contains(matrix.target_devices, 'cuda') &&
109-
!contains(matrix.target_devices, 'hip') &&
110-
contains(needs.detect_changes.outputs.filters, 'drivers') }}
111-
112-
build-win:
113-
if: |
114-
success() &&
115-
github.repository == 'intel/llvm'
116-
uses: ./.github/workflows/sycl-windows-build.yml
117-
with:
118-
cxx: icx
119-
build_configure_extra_args: -DCMAKE_C_FLAGS="/fp:precise /clang:-Wno-nonportable-include-path /clang:-Wno-cast-function-type-mismatch" -DCMAKE_CXX_FLAGS="/fp:precise /clang:-Wno-nonportable-include-path /clang:-Wno-cast-function-type-mismatch" -DCMAKE_EXE_LINKER_FLAGS=/manifest:no -DCMAKE_MODULE_LINKER_FLAGS=/manifest:no -DCMAKE_SHARED_LINKER_FLAGS=/manifest:no
120-
build_cache_suffix: icx
121-
122-
e2e-win:
123-
needs: build-win
124-
# Continue if build was successful.
125-
if: |
126-
!cancelled() &&
127-
needs.build-win.outputs.build_conclusion == 'success'
128-
uses: ./.github/workflows/sycl-windows-run-tests.yml
129-
with:
130-
name: Intel GEN12 Graphics with Level Zero
131-
runner: '["Windows","gen12"]'
132-
target_devices: "level_zero:gpu"
133-
toolchain_artifact_filename: ${{ needs.build-win.outputs.toolchain_artifact_filename }}
134-
cxx: icx
135-
# https://github.com/intel/llvm/issues/18458
136-
env: "{'LIT_FILTER_OUT':'std_array.cpp|compile_on_win_with_mdd.cpp'}"
137-
138-
macos_default:
139-
name: macOS
140-
if: github.repository == 'intel/llvm'
141-
uses: ./.github/workflows/sycl-macos-build-and-test.yml
1+
# name: SYCL Post Commit
2+
3+
# on:
4+
# workflow_dispatch:
5+
6+
# push:
7+
# branches:
8+
# - sycl
9+
# - sycl-rel-**
10+
11+
# pull_request:
12+
# branches:
13+
# - sycl
14+
# paths:
15+
# - .github/workflows/sycl-post-commit.yml
16+
# - .github/workflows/sycl-linux-build.yml
17+
# - .github/workflows/sycl-linux-run-tests.yml
18+
# - .github/workflows/sycl-macos-build-and-test.yml
19+
# - ./devops/actions/cleanup
20+
# - ./devops/actions/cached_checkout
21+
# - ./devops/dependencies.json
22+
# - ./devops/dependencies-igc-dev.json
23+
24+
# concurrency:
25+
# # Cancel a currently running workflow from the same PR or commit hash.
26+
# group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
27+
# cancel-in-progress: true
28+
29+
# permissions: read-all
30+
31+
# jobs:
32+
# detect_changes:
33+
# if: ${{ github.event_name == 'pull_request' }}
34+
# uses: ./.github/workflows/sycl-detect-changes.yml
35+
36+
# build-lin:
37+
# name: Linux (GCC + no-assertions)
38+
# if: github.repository == 'intel/llvm'
39+
# uses: ./.github/workflows/sycl-linux-build.yml
40+
# with:
41+
# build_cache_root: "/__w/llvm"
42+
# build_cache_suffix: default
43+
# build_configure_extra_args: --no-assertions --hip --cuda --native_cpu -DSYCL_ENABLE_STACK_PRINTING=ON -DSYCL_LIB_WITH_DEBUG_SYMBOL=ON
44+
45+
# toolchain_artifact: sycl_linux_default
46+
# e2e_binaries_spirv_backend_artifact: e2e_bin_spirv_backend
47+
48+
# e2e-lin:
49+
# needs: [detect_changes, build-lin]
50+
# if: ${{ !cancelled() && needs.build-lin.outputs.build_conclusion == 'success' }}
51+
# permissions:
52+
# contents: write
53+
# packages: read
54+
# strategy:
55+
# fail-fast: false
56+
# matrix:
57+
# include:
58+
# - name: Intel GEN12 Graphics with Level Zero
59+
# runner: '["Linux", "gen12"]'
60+
# target_devices: level_zero:gpu
61+
# - name: Intel Arc A-Series Graphics with Level Zero
62+
# runner: '["Linux", "arc"]'
63+
# # Performance tests below. Specifics:
64+
# # - only run performance tests (use LIT_FILTER env)
65+
# # - ask llvm-lit to show all the output, even for PASS (-a)
66+
# # - run in single thread (-j 1)
67+
# # - enable the tests in LIT (--param enable-perf-tests=True)
68+
# # - run on all available devices.
69+
# - name: Perf tests on Intel GEN12 Graphics system
70+
# runner: '["Linux", "gen12"]'
71+
# env: '{"LIT_FILTER":"PerformanceTests/"}'
72+
# extra_lit_opts: -a -j 1 --param enable-perf-tests=True
73+
# target_devices: all
74+
# - name: Perf tests on Intel Arc A-Series Graphics system
75+
# runner: '["Linux", "arc"]'
76+
# env: '{"LIT_FILTER":"PerformanceTests/"}'
77+
# extra_lit_opts: -a -j 1 --param enable-perf-tests=True
78+
# target_devices: all
79+
# - name: SPIR-V Backend / Intel Battlemage Graphics
80+
# runner: '["Linux", "bmg"]'
81+
# image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
82+
# target_devices: level_zero:gpu;opencl:gpu;opencl:cpu
83+
# extra_lit_opts: --param spirv-backend=True
84+
# binaries_artifact: e2e_bin_spirv_backend
85+
# testing_mode: 'run-only'
86+
# uses: ./.github/workflows/sycl-linux-run-tests.yml
87+
# with:
88+
# name: ${{ matrix.name }}
89+
# runner: ${{ matrix. runner }}
90+
# image_options: ${{ matrix.image_options || '-u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN' }}
91+
# target_devices: ${{ matrix.target_devices || 'level_zero:gpu' }}
92+
93+
# extra_lit_opts: ${{ matrix.extra_lit_opts }}
94+
# env: ${{ matrix.env || '{}' }}
95+
96+
# repo_ref: ${{ github.sha }}
97+
98+
# toolchain_artifact: ${{ needs.build-lin.outputs.toolchain_artifact }}
99+
# toolchain_artifact_filename: ${{ needs.build-lin.outputs.toolchain_artifact_filename }}
100+
# toolchain_decompress_command: ${{ needs.build-lin.outputs.toolchain_decompress_command }}
101+
102+
# binaries_artifact: ${{ matrix.binaries_artifact }}
103+
# testing_mode: ${{ matrix.testing_mode || 'full' }}
104+
105+
# # Do not install drivers on AMD and CUDA runners.
106+
# install_igc_driver: >-
107+
# ${{ github.event_name == 'pull_request' }} &&
108+
# ${{ !contains(matrix.target_devices, 'cuda') &&
109+
# !contains(matrix.target_devices, 'hip') &&
110+
# contains(needs.detect_changes.outputs.filters, 'drivers') }}
111+
112+
# build-win:
113+
# if: |
114+
# success() &&
115+
# github.repository == 'intel/llvm'
116+
# uses: ./.github/workflows/sycl-windows-build.yml
117+
# with:
118+
# cxx: icx
119+
# build_configure_extra_args: -DCMAKE_C_FLAGS="/fp:precise /clang:-Wno-nonportable-include-path /clang:-Wno-cast-function-type-mismatch" -DCMAKE_CXX_FLAGS="/fp:precise /clang:-Wno-nonportable-include-path /clang:-Wno-cast-function-type-mismatch" -DCMAKE_EXE_LINKER_FLAGS=/manifest:no -DCMAKE_MODULE_LINKER_FLAGS=/manifest:no -DCMAKE_SHARED_LINKER_FLAGS=/manifest:no
120+
# build_cache_suffix: icx
121+
122+
# e2e-win:
123+
# needs: build-win
124+
# # Continue if build was successful.
125+
# if: |
126+
# !cancelled() &&
127+
# needs.build-win.outputs.build_conclusion == 'success'
128+
# uses: ./.github/workflows/sycl-windows-run-tests.yml
129+
# with:
130+
# name: Intel GEN12 Graphics with Level Zero
131+
# runner: '["Windows","gen12"]'
132+
# target_devices: "level_zero:gpu"
133+
# toolchain_artifact_filename: ${{ needs.build-win.outputs.toolchain_artifact_filename }}
134+
# cxx: icx
135+
# # https://github.com/intel/llvm/issues/18458
136+
# env: "{'LIT_FILTER_OUT':'std_array.cpp|compile_on_win_with_mdd.cpp'}"
137+
138+
# macos_default:
139+
# name: macOS
140+
# if: github.repository == 'intel/llvm'
141+
# uses: ./.github/workflows/sycl-macos-build-and-test.yml

0 commit comments

Comments
 (0)