Skip to content

Commit 5aa03b1

Browse files
[CI] Move mingw hwloc testing to Nightly
1 parent 8aac81b commit 5aa03b1

File tree

2 files changed

+50
-50
lines changed

2 files changed

+50
-50
lines changed

.github/workflows/nightly.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,56 @@ jobs:
333333
working-directory: ${{env.BUILD_DIR}}
334334
run: ctest -C ${{matrix.build_type}} --output-on-failure --test-dir test
335335

336+
Windows-dynamic_mingw_hwloc:
337+
env:
338+
HWLOC_PACKAGE_NAME: hwloc-win64-build-2.10.0
339+
TBB_PACKAGE_NAME: oneapi-tbb-2021.12.0
340+
TBB_LIB_DIR: lib\intel64\vc14
341+
TBB_BIN_DIR: redist\intel64\vc14
342+
343+
name: "Windows dynamic UMF + mingw libhwloc"
344+
strategy:
345+
matrix:
346+
build_type: [Release]
347+
348+
runs-on: 'windows-latest'
349+
350+
steps:
351+
- name: Checkout
352+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
353+
with:
354+
fetch-depth: 0
355+
356+
- name: Get hwloc from official repo (mingw version)
357+
run: |
358+
Invoke-WebRequest -Uri https://download.open-mpi.org/release/hwloc/v2.10/${{env.HWLOC_PACKAGE_NAME}}.zip -OutFile ${{github.workspace}}\${{env.HWLOC_PACKAGE_NAME}}.zip -TimeoutSec 360
359+
Expand-Archive ${{github.workspace}}\${{env.HWLOC_PACKAGE_NAME}}.zip -DestinationPath ${{github.workspace}}
360+
361+
- name: Get TBB from github
362+
run: |
363+
Invoke-WebRequest -Uri https://github.com/oneapi-src/oneTBB/releases/download/v2021.12.0/${{env.TBB_PACKAGE_NAME}}-win.zip -OutFile "${{github.workspace}}\${{env.TBB_PACKAGE_NAME}}-win.zip" -TimeoutSec 360
364+
Expand-Archive "${{github.workspace}}\${{env.TBB_PACKAGE_NAME}}-win.zip" -DestinationPath ${{github.workspace}}
365+
366+
- name: Configure build
367+
run: >
368+
cmake
369+
-B ${{env.BUILD_DIR}}
370+
-DCMAKE_INSTALL_PREFIX="${{env.INSTL_DIR}}"
371+
-DCMAKE_PREFIX_PATH="${{github.workspace}}\${{env.HWLOC_PACKAGE_NAME}};${{github.workspace}}\${{env.TBB_PACKAGE_NAME}};${{github.workspace}}\${{env.TBB_PACKAGE_NAME}}\${{env.TBB_LIB_DIR}};${{github.workspace}}\${{env.TBB_PACKAGE_NAME}}\${{env.TBB_BIN_DIR}}"
372+
-DUMF_BUILD_SHARED_LIBRARY=ON
373+
-DUMF_BUILD_EXAMPLES=ON
374+
-DUMF_FORMAT_CODE_STYLE=OFF
375+
-DUMF_DEVELOPER_MODE=ON
376+
-DUMF_TESTS_FAIL_ON_SKIP=ON
377+
-DUMF_HWLOC_NAME=libhwloc
378+
379+
- name: Build UMF
380+
run: cmake --build ${{env.BUILD_DIR}} --config ${{matrix.build_type}} -j $Env:NUMBER_OF_PROCESSORS
381+
382+
- name: Run tests
383+
working-directory: ${{env.BUILD_DIR}}
384+
run: ctest -C ${{matrix.build_type}} --output-on-failure --test-dir test
385+
336386
L0:
337387
uses: ./.github/workflows/reusable_gpu.yml
338388
with:

.github/workflows/reusable_basic.yml

Lines changed: 0 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -464,56 +464,6 @@ jobs:
464464
working-directory: ${{env.BUILD_DIR}}
465465
run: ctest -C ${{matrix.build_type}} --output-on-failure --test-dir test
466466

467-
windows-dynamic_mingw_hwloc:
468-
env:
469-
HWLOC_PACKAGE_NAME: hwloc-win64-build-2.10.0
470-
TBB_PACKAGE_NAME: oneapi-tbb-2021.12.0
471-
TBB_LIB_DIR: lib\intel64\vc14
472-
TBB_BIN_DIR: redist\intel64\vc14
473-
474-
name: "Windows dynamic UMF + mingw libhwloc"
475-
strategy:
476-
matrix:
477-
build_type: [Release]
478-
479-
runs-on: 'windows-latest'
480-
481-
steps:
482-
- name: Checkout
483-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
484-
with:
485-
fetch-depth: 0
486-
487-
- name: Get hwloc from official repo (mingw version)
488-
run: |
489-
Invoke-WebRequest -Uri https://download.open-mpi.org/release/hwloc/v2.10/${{env.HWLOC_PACKAGE_NAME}}.zip -OutFile ${{github.workspace}}\${{env.HWLOC_PACKAGE_NAME}}.zip -TimeoutSec 360
490-
Expand-Archive ${{github.workspace}}\${{env.HWLOC_PACKAGE_NAME}}.zip -DestinationPath ${{github.workspace}}
491-
492-
- name: Get TBB from github
493-
run: |
494-
Invoke-WebRequest -Uri https://github.com/oneapi-src/oneTBB/releases/download/v2021.12.0/${{env.TBB_PACKAGE_NAME}}-win.zip -OutFile "${{github.workspace}}\${{env.TBB_PACKAGE_NAME}}-win.zip" -TimeoutSec 360
495-
Expand-Archive "${{github.workspace}}\${{env.TBB_PACKAGE_NAME}}-win.zip" -DestinationPath ${{github.workspace}}
496-
497-
- name: Configure build
498-
run: >
499-
cmake
500-
-B ${{env.BUILD_DIR}}
501-
-DCMAKE_INSTALL_PREFIX="${{env.INSTL_DIR}}"
502-
-DCMAKE_PREFIX_PATH="${{github.workspace}}\${{env.HWLOC_PACKAGE_NAME}};${{github.workspace}}\${{env.TBB_PACKAGE_NAME}};${{github.workspace}}\${{env.TBB_PACKAGE_NAME}}\${{env.TBB_LIB_DIR}};${{github.workspace}}\${{env.TBB_PACKAGE_NAME}}\${{env.TBB_BIN_DIR}}"
503-
-DUMF_BUILD_SHARED_LIBRARY=ON
504-
-DUMF_BUILD_EXAMPLES=ON
505-
-DUMF_FORMAT_CODE_STYLE=OFF
506-
-DUMF_DEVELOPER_MODE=ON
507-
-DUMF_TESTS_FAIL_ON_SKIP=ON
508-
-DUMF_HWLOC_NAME=libhwloc
509-
510-
- name: Build UMF
511-
run: cmake --build ${{env.BUILD_DIR}} --config ${{matrix.build_type}} -j $Env:NUMBER_OF_PROCESSORS
512-
513-
- name: Run tests
514-
working-directory: ${{env.BUILD_DIR}}
515-
run: ctest -C ${{matrix.build_type}} --output-on-failure --test-dir test
516-
517467
macos-build:
518468
strategy:
519469
matrix:

0 commit comments

Comments
 (0)