Skip to content

Commit e918a3a

Browse files
committed
add testing for windows
1 parent 9007daf commit e918a3a

File tree

1 file changed

+37
-2
lines changed

1 file changed

+37
-2
lines changed

.github/workflows/sycl-nightly.yml

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,20 @@ jobs:
122122
# prefer widespread gzip compression.
123123
toolchain_artifact_filename: sycl_linux.tar.gz
124124

125-
e2e_with_NewOffloadModel:
125+
build-win:
126+
needs: get_date
127+
uses: ./.github/workflows/sycl-windows-build.yml
128+
if: github.repository == 'intel/llvm'
129+
with:
130+
retention-days: 90
131+
# We upload both Linux/Windows build via Github's "Releases"
132+
# functionality, make sure Linux/Windows names follow the same pattern.
133+
toolchain_artifact_filename: sycl_windows.tar.gz
134+
# Disable the spirv-dis requirement as to not require SPIR-V Tools.
135+
build_configure_extra_args: -DLLVM_SPIRV_ENABLE_LIBSPIRV_DIS=off -DSYCL_BUILD_INFO="Nightly ${{ needs.get_date.outputs.date }}"
136+
build_target: all
137+
138+
e2e-with-new-offload-model:
126139
needs: [ubuntu2204_build]
127140
if: ${{ !cancelled() && needs.ubuntu2204_build.outputs.build_conclusion == 'success' }}
128141
strategy:
@@ -142,8 +155,30 @@ jobs:
142155
tests_ref: ${{ github.sha }}
143156
toolchain_artifact: ${{ needs.ubuntu2204_build.outputs.toolchain_artifact }}
144157
toolchain_artifact_filename: ${{ needs.ubuntu2204_build.outputs.toolchain_artifact_filename }}
145-
toolchain_decompress_command: ${{ needs.ubuntu2204_build.outputs.toolchain_decompress_command }}
158+
toolchain_decompress_command: ${{ needs.ubuntu2204_build.outputs.toolchain_decompress_command }}
146159

160+
e2e-win-with-new-offload-model:
161+
needs: [build-win]
162+
if: ${{ !cancelled() && needs.build-win.outputs.build_conclusion == 'success' }}
163+
strategy:
164+
fail-fast: false
165+
uses: ./.github/workflows/sycl-win-run-tests.yml
166+
permissions:
167+
contents: write
168+
packages: read
169+
with:
170+
name: "E2E with enabled NewOffloadModel"
171+
runner: ${{ inputs.runner }}
172+
image_options: ${{ inputs.image_options }}
173+
tests_selector: e2e
174+
testing_mode: "full"
175+
target_devices: ${{ inputs.target_devices }}
176+
extra_lit_opts: "--param enable_new_offload_model=True"
177+
tests_ref: ${{ github.sha }}
178+
toolchain_artifact: ${{ needs.build-win.outputs.toolchain_artifact }}
179+
toolchain_artifact_filename: ${{ needs.build-win.outputs.toolchain_artifact_filename }}
180+
toolchain_decompress_command: ${{ needs.build-win.outputs.toolchain_decompress_command }}
181+
147182
#e2e_with_NewOffloadModel:
148183
# runs-on: [Linux, build]
149184
# needs: [ubuntu2204_build]

0 commit comments

Comments
 (0)