Skip to content

Commit ba11652

Browse files
Update nightly.yml
1 parent cd988ed commit ba11652

File tree

1 file changed

+112
-95
lines changed

1 file changed

+112
-95
lines changed

.github/workflows/nightly.yml

Lines changed: 112 additions & 95 deletions
Original file line numberDiff line numberDiff line change
@@ -107,113 +107,113 @@ jobs:
107107
# - name: Run tests under valgrind
108108
# run: ${{github.workspace}}/test/test_valgrind.sh ${{github.workspace}} ${{github.workspace}}/build ${{matrix.tool}}
109109

110-
Windows-generators:
111-
name: Windows ${{matrix.generator}} generator
112-
strategy:
113-
matrix:
114-
build_type: [Debug, Release]
115-
compiler: [{c: cl, cxx: cl}]
116-
shared_library: ['ON', 'OFF']
117-
static_hwloc: ['ON', 'OFF']
118-
generator: ['Unix Makefiles']
119-
umfd_lib: ['ON', 'OFF']
110+
# Windows-generators:
111+
# name: Windows ${{matrix.generator}} generator
112+
# strategy:
113+
# matrix:
114+
# build_type: [Debug, Release]
115+
# compiler: [{c: cl, cxx: cl}]
116+
# shared_library: ['ON', 'OFF']
117+
# static_hwloc: ['ON', 'OFF']
118+
# generator: ['Unix Makefiles']
119+
# umfd_lib: ['ON', 'OFF']
120120

121-
runs-on: windows-latest
121+
# runs-on: windows-latest
122122

123-
steps:
124-
- name: Checkout
125-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
126-
with:
127-
fetch-depth: 0
123+
# steps:
124+
# - name: Checkout
125+
# uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
126+
# with:
127+
# fetch-depth: 0
128128

129-
- name: Set VCPKG_PATH with hwloc
130-
if: matrix.static_hwloc == 'OFF'
131-
run: echo "VCPKG_PATH=${{github.workspace}}/build/vcpkg/packages/hwloc_x64-windows;${{github.workspace}}/build/vcpkg/packages/tbb_x64-windows;${{github.workspace}}/build/vcpkg/packages/jemalloc_x64-windows" >> $env:GITHUB_ENV
129+
# - name: Set VCPKG_PATH with hwloc
130+
# if: matrix.static_hwloc == 'OFF'
131+
# run: echo "VCPKG_PATH=${{github.workspace}}/build/vcpkg/packages/hwloc_x64-windows;${{github.workspace}}/build/vcpkg/packages/tbb_x64-windows;${{github.workspace}}/build/vcpkg/packages/jemalloc_x64-windows" >> $env:GITHUB_ENV
132132

133-
- name: Set VCPKG_PATH without hwloc
134-
if: matrix.static_hwloc == 'ON'
135-
run: echo "VCPKG_PATH=${{github.workspace}}/build/vcpkg/packages/tbb_x64-windows;${{github.workspace}}/build/vcpkg/packages/jemalloc_x64-windows" >> $env:GITHUB_ENV
133+
# - name: Set VCPKG_PATH without hwloc
134+
# if: matrix.static_hwloc == 'ON'
135+
# run: echo "VCPKG_PATH=${{github.workspace}}/build/vcpkg/packages/tbb_x64-windows;${{github.workspace}}/build/vcpkg/packages/jemalloc_x64-windows" >> $env:GITHUB_ENV
136136

137-
- name: Initialize vcpkg
138-
uses: lukka/run-vcpkg@5e0cab206a5ea620130caf672fce3e4a6b5666a1 # v11.5
139-
env:
140-
VCPKG_PATH: ${{env.VCPKG_PATH}}
141-
with:
142-
vcpkgGitCommitId: ea2a964f9303270322cf3f2d51c265ba146c422d # 1.04.2025
143-
vcpkgDirectory: ${{env.BUILD_DIR}}/vcpkg
144-
vcpkgJsonGlob: '**/vcpkg.json'
137+
# - name: Initialize vcpkg
138+
# uses: lukka/run-vcpkg@5e0cab206a5ea620130caf672fce3e4a6b5666a1 # v11.5
139+
# env:
140+
# VCPKG_PATH: ${{env.VCPKG_PATH}}
141+
# with:
142+
# vcpkgGitCommitId: ea2a964f9303270322cf3f2d51c265ba146c422d # 1.04.2025
143+
# vcpkgDirectory: ${{env.BUILD_DIR}}/vcpkg
144+
# vcpkgJsonGlob: '**/vcpkg.json'
145145

146-
- name: Install dependencies
147-
run: vcpkg install --triplet x64-windows
146+
# - name: Install dependencies
147+
# run: vcpkg install --triplet x64-windows
148148

149-
- name: Install Ninja
150-
if: matrix.generator == 'Ninja'
151-
uses: seanmiddleditch/gha-setup-ninja@3b1f8f94a2f8254bd26914c4ab9474d4f0015f67 # v6
149+
# - name: Install Ninja
150+
# if: matrix.generator == 'Ninja'
151+
# uses: seanmiddleditch/gha-setup-ninja@3b1f8f94a2f8254bd26914c4ab9474d4f0015f67 # v6
152152

153-
- name: Configure MSVC environment
154-
uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
153+
# - name: Configure MSVC environment
154+
# uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
155155

156-
- name: Install llvm-mingw
157-
run: |
158-
curl -LO https://github.com/mstorsjo/llvm-mingw/releases/download/20250430/llvm-mingw-20250430-ucrt-x86_64.zip
159-
- name: Install llvm-mingw (extract)
160-
run: |
161-
powershell Expand-Archive llvm-mingw*.zip -DestinationPath .
162-
del llvm-mingw*.zip
163-
mv llvm-mingw* c:\llvm-mingw
164-
echo "c:\llvm-mingw\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
165-
dir "c:\llvm-mingw\bin"
166-
- name: cmake version
167-
run: |
168-
cmake --version
169-
make --version
170-
gcc --version
156+
# - name: Install llvm-mingw
157+
# run: |
158+
# curl -LO https://github.com/mstorsjo/llvm-mingw/releases/download/20250430/llvm-mingw-20250430-ucrt-x86_64.zip
159+
# - name: Install llvm-mingw (extract)
160+
# run: |
161+
# powershell Expand-Archive llvm-mingw*.zip -DestinationPath .
162+
# del llvm-mingw*.zip
163+
# mv llvm-mingw* c:\llvm-mingw
164+
# echo "c:\llvm-mingw\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
165+
# dir "c:\llvm-mingw\bin"
166+
# - name: cmake version
167+
# run: |
168+
# cmake --version
169+
# make --version
170+
# gcc --version
171171

172-
- name: Configure build
173-
run: >
174-
cmake
175-
-B ${{env.BUILD_DIR}}
176-
-DCMAKE_BUILD_TYPE=${{matrix.build_type}}
177-
-DCMAKE_PREFIX_PATH="c:\llvm-mingw\bin:${{env.VCPKG_PATH}}"
178-
-DCMAKE_C_COMPILER=${{matrix.compiler.c}}
179-
-DCMAKE_CXX_COMPILER=${{matrix.compiler.cxx}}
180-
-G "${{matrix.generator}}"
181-
-DUMF_BUILD_SHARED_LIBRARY=${{matrix.shared_library}}
182-
-DUMF_LINK_HWLOC_STATICALLY=${{matrix.static_hwloc}}
183-
-DUMF_FORMAT_CODE_STYLE=OFF
184-
-DUMF_DEVELOPER_MODE=ON
185-
-DUMF_BUILD_LIBUMF_POOL_JEMALLOC=ON
186-
-DUMF_BUILD_LEVEL_ZERO_PROVIDER=ON
187-
-DUMF_BUILD_CUDA_PROVIDER=ON
188-
-DUMF_TESTS_FAIL_ON_SKIP=ON
189-
${{ matrix.umfd_lib == 'ON' && '-DUMF_USE_DEBUG_POSTFIX=ON' || '' }}
190-
- name: Build UMF
191-
shell: cmd
192-
run: cmake --build ${{env.BUILD_DIR}} --config ${{matrix.build_type}} -j %NUMBER_OF_PROCESSORS%
172+
# - name: Configure build
173+
# run: >
174+
# cmake
175+
# -B ${{env.BUILD_DIR}}
176+
# -DCMAKE_BUILD_TYPE=${{matrix.build_type}}
177+
# -DCMAKE_PREFIX_PATH="c:\llvm-mingw\bin:${{env.VCPKG_PATH}}"
178+
# -DCMAKE_C_COMPILER=${{matrix.compiler.c}}
179+
# -DCMAKE_CXX_COMPILER=${{matrix.compiler.cxx}}
180+
# -G "${{matrix.generator}}"
181+
# -DUMF_BUILD_SHARED_LIBRARY=${{matrix.shared_library}}
182+
# -DUMF_LINK_HWLOC_STATICALLY=${{matrix.static_hwloc}}
183+
# -DUMF_FORMAT_CODE_STYLE=OFF
184+
# -DUMF_DEVELOPER_MODE=ON
185+
# -DUMF_BUILD_LIBUMF_POOL_JEMALLOC=ON
186+
# -DUMF_BUILD_LEVEL_ZERO_PROVIDER=ON
187+
# -DUMF_BUILD_CUDA_PROVIDER=ON
188+
# -DUMF_TESTS_FAIL_ON_SKIP=ON
189+
# ${{ matrix.umfd_lib == 'ON' && '-DUMF_USE_DEBUG_POSTFIX=ON' || '' }}
190+
# - name: Build UMF
191+
# shell: cmd
192+
# run: cmake --build ${{env.BUILD_DIR}} --config ${{matrix.build_type}} -j %NUMBER_OF_PROCESSORS%
193193

194-
- name: Run tests
195-
shell: cmd
196-
working-directory: ${{env.BUILD_DIR}}
197-
run: ctest -C ${{matrix.build_type}} --output-on-failure --test-dir test
194+
# - name: Run tests
195+
# shell: cmd
196+
# working-directory: ${{env.BUILD_DIR}}
197+
# run: ctest -C ${{matrix.build_type}} --output-on-failure --test-dir test
198198

199-
- name: Get UMF version
200-
run: |
201-
$version = (git describe --tags --abbrev=0 | Select-String -Pattern '\d+\.\d+\.\d+').Matches.Value
202-
echo "UMF_VERSION=$version" >> $env:GITHUB_ENV
203-
shell: pwsh
199+
# - name: Get UMF version
200+
# run: |
201+
# $version = (git describe --tags --abbrev=0 | Select-String -Pattern '\d+\.\d+\.\d+').Matches.Value
202+
# echo "UMF_VERSION=$version" >> $env:GITHUB_ENV
203+
# shell: pwsh
204204

205-
- name: Test UMF installation and uninstallation
206-
# The '--shared-library' parameter is added to the installation test when the UMF is built as a shared library
207-
# The '--umfd-lib' parameter is added when the UMF is built with the umfd library
208-
run: >
209-
python3 ${{github.workspace}}/test/test_installation.py
210-
--build-dir ${{env.BUILD_DIR}}
211-
--install-dir ${{env.INSTALL_DIR}}
212-
--build-type ${{matrix.build_type}}
213-
--umf-version ${{env.UMF_VERSION}}
214-
${{ matrix.shared_library == 'ON' && '--proxy --shared-library' || '' }}
215-
${{ matrix.umfd_lib == 'ON' && '--umfd-lib' || ''}}
216-
${{ matrix.static_hwloc == 'ON' && '--hwloc' || '' }}
205+
# - name: Test UMF installation and uninstallation
206+
# # The '--shared-library' parameter is added to the installation test when the UMF is built as a shared library
207+
# # The '--umfd-lib' parameter is added when the UMF is built with the umfd library
208+
# run: >
209+
# python3 ${{github.workspace}}/test/test_installation.py
210+
# --build-dir ${{env.BUILD_DIR}}
211+
# --install-dir ${{env.INSTALL_DIR}}
212+
# --build-type ${{matrix.build_type}}
213+
# --umf-version ${{env.UMF_VERSION}}
214+
# ${{ matrix.shared_library == 'ON' && '--proxy --shared-library' || '' }}
215+
# ${{ matrix.umfd_lib == 'ON' && '--umfd-lib' || ''}}
216+
# ${{ matrix.static_hwloc == 'ON' && '--hwloc' || '' }}
217217

218218
icx:
219219
name: ICX
@@ -265,7 +265,24 @@ jobs:
265265
start /b /wait .\compiler_install.exe -s -x -f extracted --log extract.log
266266
extracted\bootstrapper.exe -s --action install --eula=accept -p=NEED_VS2017_INTEGRATION=0 ^
267267
-p=NEED_VS2019_INTEGRATION=0 -p=NEED_VS2022_INTEGRATION=0 --log-dir=.
268-
268+
269+
270+
- name: Install llvm-mingw
271+
run: |
272+
curl -LO https://github.com/mstorsjo/llvm-mingw/releases/download/20250430/llvm-mingw-20250430-ucrt-x86_64.zip
273+
- name: Install llvm-mingw (extract)
274+
run: |
275+
powershell Expand-Archive llvm-mingw*.zip -DestinationPath .
276+
del llvm-mingw*.zip
277+
mv llvm-mingw* c:\llvm-mingw
278+
echo "c:\llvm-mingw\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
279+
dir "c:\llvm-mingw\bin"
280+
- name: cmake version
281+
run: |
282+
cmake --version
283+
make --version
284+
gcc --version
285+
269286
- name: Configure build
270287
shell: cmd
271288
run: |

0 commit comments

Comments
 (0)