Skip to content

Commit 6553665

Browse files
committed
Merge branch 'install-prebuilds' of github.com:Devsh-Graphics-Programming/Nabla into install-prebuilds
2 parents e2b2cb8 + 80f0e28 commit 6553665

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/build-nabla.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,3 +282,40 @@ jobs:
282282
key: ${{ secrets.CE_KEY }}
283283
script: |
284284
powershell -NoLogo -NoProfile -ExecutionPolicy Bypass -NoExit -File C:\Scripts\startup-docker.ps1
285+
286+
smoke-tests:
287+
name: smoke-windows
288+
needs: build-windows
289+
runs-on: windows-2022
290+
strategy:
291+
fail-fast: false
292+
matrix:
293+
config: [Release, Debug, RelWithDebInfo]
294+
steps:
295+
- name: Checkout smoke
296+
uses: actions/checkout@v4
297+
with:
298+
fetch-depth: 1
299+
sparse-checkout: |
300+
smoke
301+
302+
- name: Download Nabla install artifact
303+
uses: actions/download-artifact@v4
304+
with:
305+
name: run-windows-17.13.6-msvc-${{ matrix.config }}-install
306+
path: smoke
307+
308+
- name: Unpack Nabla install artifact
309+
run: |
310+
$tar = Get-ChildItem smoke -Filter *-install.tar -File | Select-Object -First 1
311+
if (-not $tar) { throw "install tar not found in smoke" }
312+
tar -xf $tar.FullName -C smoke
313+
if (-not (Test-Path "smoke/build-ct/install")) { throw "smoke/build-ct/install not found" }
314+
tree.com smoke /F
315+
316+
- name: Build Smoke and run tests
317+
run: |
318+
cd smoke
319+
cmake . -B out
320+
cmake --build out --config ${{ matrix.config }}
321+
ctest --test-dir out --force-new-ctest-process --output-on-failure --no-tests=error -C ${{ matrix.config }}

0 commit comments

Comments
 (0)