Skip to content

Commit 8f6fccf

Browse files
committed
DEBUG CI - run only Windows-Ninja-cl job
Signed-off-by: Lukasz Dorau <[email protected]>
1 parent 58ef1da commit 8f6fccf

File tree

6 files changed

+4
-484
lines changed

6 files changed

+4
-484
lines changed

.github/workflows/benchmarks.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

.github/workflows/coverity.yml

Lines changed: 0 additions & 77 deletions
This file was deleted.

.github/workflows/docs.yml

Lines changed: 0 additions & 39 deletions
This file was deleted.

.github/workflows/nightly.yml

Lines changed: 4 additions & 198 deletions
Original file line numberDiff line numberDiff line change
@@ -1,94 +1,16 @@
11
# Various non-standard tests, requiring e.g. longer run
22
name: Nightly
33

4-
# This job is run at 00:00 UTC every day or on demand.
54
on:
6-
workflow_dispatch:
7-
schedule:
8-
- cron: '0 0 * * *'
5+
push:
6+
branches-ignore:
7+
- 'dependabot/**'
8+
pull_request:
99

1010
permissions:
1111
contents: read
1212

1313
jobs:
14-
fuzz-test:
15-
name: Fuzz test
16-
strategy:
17-
fail-fast: false
18-
matrix:
19-
build_type: [Debug, Release]
20-
compiler: [{c: clang, cxx: clang++}]
21-
22-
runs-on: ubuntu-latest
23-
24-
steps:
25-
- name: Checkout repository
26-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
27-
with:
28-
fetch-depth: 0
29-
30-
- name: Install apt packages
31-
run: |
32-
sudo apt-get update
33-
sudo apt-get install -y cmake hwloc libhwloc-dev libnuma-dev libtbb-dev
34-
35-
- name: Configure CMake
36-
run: >
37-
cmake
38-
-B ${{github.workspace}}/build
39-
-DCMAKE_BUILD_TYPE=${{matrix.build_type}}
40-
-DCMAKE_C_COMPILER=${{matrix.compiler.c}}
41-
-DCMAKE_CXX_COMPILER=${{matrix.compiler.cxx}}
42-
-DUMF_TESTS_FAIL_ON_SKIP=ON
43-
-DUMF_DEVELOPER_MODE=ON
44-
-DUMF_BUILD_FUZZTESTS=ON
45-
46-
- name: Build
47-
run: cmake --build ${{github.workspace}}/build --config ${{matrix.build_type}} --verbose -j$(nproc)
48-
49-
- name: Fuzz long test
50-
working-directory: ${{github.workspace}}/build
51-
run: ctest -C ${{matrix.build_type}} --output-on-failure --verbose -L "fuzz-long"
52-
53-
valgrind:
54-
name: Valgrind
55-
strategy:
56-
fail-fast: false
57-
matrix:
58-
tool: ['memcheck', 'drd', 'helgrind']
59-
runs-on: ubuntu-latest
60-
61-
steps:
62-
- name: Checkout repository
63-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
64-
with:
65-
fetch-depth: 0
66-
67-
- name: Install apt packages
68-
run: |
69-
sudo apt-get update
70-
sudo apt-get install -y cmake hwloc libhwloc-dev libnuma-dev libtbb-dev valgrind
71-
72-
- name: Configure CMake
73-
run: >
74-
cmake
75-
-B ${{github.workspace}}/build
76-
-DCMAKE_BUILD_TYPE=Debug
77-
-DUMF_FORMAT_CODE_STYLE=OFF
78-
-DUMF_DEVELOPER_MODE=ON
79-
-DUMF_BUILD_LIBUMF_POOL_DISJOINT=ON
80-
-DUMF_BUILD_LIBUMF_POOL_JEMALLOC=ON
81-
-DUMF_BUILD_LEVEL_ZERO_PROVIDER=OFF
82-
-DUMF_BUILD_CUDA_PROVIDER=OFF
83-
-DUMF_USE_VALGRIND=1
84-
-DUMF_TESTS_FAIL_ON_SKIP=ON
85-
86-
- name: Build
87-
run: cmake --build ${{github.workspace}}/build --config Debug -j$(nproc)
88-
89-
- name: Run tests under valgrind
90-
run: ${{github.workspace}}/test/test_valgrind.sh ${{github.workspace}} ${{github.workspace}}/build ${{matrix.tool}}
91-
9214
Windows-Ninja-cl:
9315
name: Windows-Ninja-cl
9416
env:
@@ -152,119 +74,3 @@ jobs:
15274
shell: cmd
15375
working-directory: ${{env.BUILD_DIR}}
15476
run: ctest -C ${{matrix.build_type}} --output-on-failure --test-dir test
155-
156-
# TODO fix #843
157-
#icx:
158-
# name: ICX
159-
# env:
160-
# 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"
161-
# BUILD_DIR : "${{github.workspace}}/build"
162-
# strategy:
163-
# matrix:
164-
# os: ['windows-2019', 'windows-2022']
165-
# build_type: [Debug]
166-
# compiler: [{c: icx, cxx: icx}]
167-
# shared_library: ['ON', 'OFF']
168-
# include:
169-
# - os: windows-2022
170-
# build_type: Release
171-
# compiler: {c: icx, cxx: icx}
172-
# shared_library: 'ON'
173-
#
174-
# runs-on: ${{matrix.os}}
175-
#
176-
# steps:
177-
# - name: Checkout
178-
# uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
179-
# with:
180-
# fetch-depth: 0
181-
#
182-
# - name: Initialize vcpkg
183-
# uses: lukka/run-vcpkg@5e0cab206a5ea620130caf672fce3e4a6b5666a1 # v11.5
184-
# with:
185-
# vcpkgGitCommitId: 3dd44b931481d7a8e9ba412621fa810232b66289
186-
# vcpkgDirectory: ${{env.BUILD_DIR}}/vcpkg
187-
# vcpkgJsonGlob: '**/vcpkg.json'
188-
#
189-
# - name: Install dependencies
190-
# run: vcpkg install
191-
#
192-
# - name: Install Ninja
193-
# uses: seanmiddleditch/gha-setup-ninja@96bed6edff20d1dd61ecff9b75cc519d516e6401 # v5
194-
#
195-
# - name: Download icx compiler
196-
# env:
197-
# # Link source: https://www.intel.com/content/www/us/en/developer/tools/oneapi/dpc-compiler-download.html
198-
# CMPLR_LINK: "https://registrationcenter-download.intel.com/akdlm/IRC_NAS/15a35578-2f9a-4f39-804b-3906e0a5f8fc/w_dpcpp-cpp-compiler_p_2024.2.1.83_offline.exe"
199-
# run: |
200-
# Invoke-WebRequest -Uri "${{ env.CMPLR_LINK }}" -OutFile compiler_install.exe
201-
#
202-
# - name: Install icx compiler
203-
# shell: cmd
204-
# run: |
205-
# start /b /wait .\compiler_install.exe -s -x -f extracted --log extract.log
206-
# extracted\bootstrapper.exe -s --action install --eula=accept -p=NEED_VS2017_INTEGRATION=0 ^
207-
# -p=NEED_VS2019_INTEGRATION=0 -p=NEED_VS2022_INTEGRATION=0 --log-dir=.
208-
#
209-
# - name: Configure build
210-
# shell: cmd
211-
# run: |
212-
# call "C:\Program Files (x86)\Intel\oneAPI\setvars.bat"
213-
# call "C:\Program Files (x86)\Intel\oneAPI\setvars-vcvarsall.bat"
214-
# cmake ^
215-
# -B ${{env.BUILD_DIR}} ^
216-
# -DCMAKE_PREFIX_PATH="${{env.VCPKG_PATH}}" ^
217-
# -DCMAKE_C_COMPILER=${{matrix.compiler.c}} ^
218-
# -DCMAKE_CXX_COMPILER=${{matrix.compiler.cxx}} ^
219-
# -G Ninja ^
220-
# -DUMF_BUILD_SHARED_LIBRARY=${{matrix.shared_library}} ^
221-
# -DUMF_FORMAT_CODE_STYLE=OFF ^
222-
# -DUMF_DEVELOPER_MODE=ON ^
223-
# -DUMF_BUILD_LIBUMF_POOL_DISJOINT=ON ^
224-
# -DUMF_BUILD_LIBUMF_POOL_JEMALLOC=ON ^
225-
# -DUMF_BUILD_LEVEL_ZERO_PROVIDER=ON ^
226-
# -DUMF_BUILD_CUDA_PROVIDER=ON ^
227-
# -DUMF_TESTS_FAIL_ON_SKIP=ON
228-
#
229-
# - name: Build UMF
230-
# shell: cmd
231-
# run: |
232-
# call "C:\Program Files (x86)\Intel\oneAPI\setvars.bat"
233-
# call "C:\Program Files (x86)\Intel\oneAPI\setvars-vcvarsall.bat"
234-
# cmake --build ${{env.BUILD_DIR}} --config ${{matrix.build_type}} -j %NUMBER_OF_PROCESSORS%
235-
#
236-
# - name: Run tests
237-
# shell: cmd
238-
# working-directory: ${{env.BUILD_DIR}}
239-
# run: |
240-
# call "C:\Program Files (x86)\Intel\oneAPI\setvars.bat"
241-
# call "C:\Program Files (x86)\Intel\oneAPI\setvars-vcvarsall.bat"
242-
# ctest -C ${{matrix.build_type}} --output-on-failure --test-dir test
243-
244-
L0:
245-
uses: ./.github/workflows/reusable_gpu.yml
246-
with:
247-
name: "LEVEL_ZERO"
248-
CUDA:
249-
uses: ./.github/workflows/reusable_gpu.yml
250-
with:
251-
name: "CUDA"
252-
253-
# Full execution of QEMU tests
254-
QEMU:
255-
uses: ./.github/workflows/reusable_qemu.yml
256-
with:
257-
short_run: false
258-
# Beside the 2 LTS Ubuntu, we also test this on the latest Ubuntu - to be updated
259-
# every 6 months, so we verify the latest version of packages (compilers, etc.).
260-
os: "['ubuntu-22.04', 'ubuntu-24.04', 'ubuntu-24.10']"
261-
262-
Benchmarks:
263-
uses: ./.github/workflows/reusable_benchmarks.yml
264-
permissions:
265-
contents: read
266-
pull-requests: write
267-
with:
268-
pr_no: '0'
269-
bench_script_params: ''
270-
upload_report: true

0 commit comments

Comments
 (0)