Skip to content

Commit 33a9666

Browse files
committed
[DEBUG] Run nightly
1 parent 5ebb25c commit 33a9666

File tree

1 file changed

+3
-164
lines changed

1 file changed

+3
-164
lines changed

.github/workflows/nightly.yml

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

4-
# This job is run at 04:00 UTC every day or on demand.
4+
# This job is run at 04:00 UTC every day, on push, or on pull request.
55
on:
6+
push:
7+
pull_request:
68
workflow_dispatch:
79
schedule:
810
- cron: '0 4 * * *'
@@ -14,83 +16,6 @@ env:
1416
BUILD_DIR : "${{github.workspace}}/build"
1517

1618
jobs:
17-
fuzz-test:
18-
name: Fuzz test
19-
strategy:
20-
fail-fast: false
21-
matrix:
22-
build_type: [Debug, Release]
23-
compiler: [{c: clang, cxx: clang++}]
24-
25-
runs-on: ubuntu-latest
26-
27-
steps:
28-
- name: Checkout repository
29-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
30-
with:
31-
fetch-depth: 0
32-
33-
- name: Install apt packages
34-
run: |
35-
sudo apt-get update
36-
sudo apt-get install -y cmake hwloc libhwloc-dev libnuma-dev libtbb-dev
37-
38-
- name: Configure CMake
39-
run: >
40-
cmake
41-
-B ${{github.workspace}}/build
42-
-DCMAKE_BUILD_TYPE=${{matrix.build_type}}
43-
-DCMAKE_C_COMPILER=${{matrix.compiler.c}}
44-
-DCMAKE_CXX_COMPILER=${{matrix.compiler.cxx}}
45-
-DUMF_TESTS_FAIL_ON_SKIP=ON
46-
-DUMF_DEVELOPER_MODE=ON
47-
-DUMF_BUILD_FUZZTESTS=ON
48-
49-
- name: Build
50-
run: cmake --build ${{github.workspace}}/build --config ${{matrix.build_type}} --verbose -j$(nproc)
51-
52-
- name: Fuzz long test
53-
working-directory: ${{github.workspace}}/build
54-
run: ctest -C ${{matrix.build_type}} --output-on-failure --verbose -L "fuzz-long"
55-
56-
valgrind:
57-
name: Valgrind
58-
strategy:
59-
fail-fast: false
60-
matrix:
61-
tool: ['memcheck', 'drd', 'helgrind']
62-
runs-on: ubuntu-latest
63-
64-
steps:
65-
- name: Checkout repository
66-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
67-
with:
68-
fetch-depth: 0
69-
70-
- name: Install apt packages
71-
run: |
72-
sudo apt-get update
73-
sudo apt-get install -y cmake hwloc libhwloc-dev libnuma-dev libtbb-dev valgrind
74-
75-
- name: Configure CMake
76-
run: >
77-
cmake
78-
-B ${{github.workspace}}/build
79-
-DCMAKE_BUILD_TYPE=Debug
80-
-DUMF_FORMAT_CODE_STYLE=OFF
81-
-DUMF_DEVELOPER_MODE=ON
82-
-DUMF_BUILD_LIBUMF_POOL_JEMALLOC=ON
83-
-DUMF_BUILD_LEVEL_ZERO_PROVIDER=OFF
84-
-DUMF_BUILD_CUDA_PROVIDER=OFF
85-
-DUMF_USE_VALGRIND=1
86-
-DUMF_TESTS_FAIL_ON_SKIP=ON
87-
88-
- name: Build
89-
run: cmake --build ${{github.workspace}}/build --config Debug -j$(nproc)
90-
91-
- name: Run tests under valgrind
92-
run: ${{github.workspace}}/test/test_valgrind.sh ${{github.workspace}} ${{github.workspace}}/build ${{matrix.tool}}
93-
9419
Windows-generators:
9520
name: Windows ${{matrix.generator}} generator
9621
strategy:
@@ -262,89 +187,3 @@ jobs:
262187
call "C:\Program Files (x86)\Intel\oneAPI\setvars.bat"
263188
call "C:\Program Files (x86)\Intel\oneAPI\setvars-vcvarsall.bat"
264189
ctest -C ${{matrix.build_type}} --output-on-failure --test-dir test
265-
266-
# Scenarios where UMF_LINK_HWLOC_STATICALLY is set to OFF and hwloc is not installed in the system
267-
# The hwloc library is fetched implicitly
268-
hwloc-fallback:
269-
name: "Fallback to static hwloc build"
270-
strategy:
271-
matrix:
272-
include:
273-
- os: 'ubuntu-latest'
274-
build_type: Release
275-
number_of_processors: '$(nproc)'
276-
- os: 'windows-latest'
277-
build_type: Release
278-
number_of_processors: '$Env:NUMBER_OF_PROCESSORS'
279-
280-
runs-on: ${{matrix.os}}
281-
282-
steps:
283-
- name: Install dependencies
284-
if: matrix.os == 'ubuntu-latest'
285-
run: sudo apt-get install -y libnuma-dev
286-
287-
- name: Checkout
288-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
289-
with:
290-
fetch-depth: 0
291-
292-
- name: Configure build
293-
run: >
294-
cmake
295-
-B ${{env.BUILD_DIR}}
296-
-DCMAKE_BUILD_TYPE=${{matrix.build_type}}
297-
-DUMF_BUILD_SHARED_LIBRARY=ON
298-
-DUMF_BUILD_EXAMPLES=OFF
299-
-DUMF_DEVELOPER_MODE=ON
300-
-DUMF_LINK_HWLOC_STATICALLY=OFF
301-
-DUMF_TESTS_FAIL_ON_SKIP=ON
302-
303-
- name: Build UMF
304-
run: >
305-
cmake
306-
--build ${{env.BUILD_DIR}}
307-
--config ${{matrix.build_type}}
308-
-j ${{matrix.number_of_processors}}
309-
310-
- name: Run tests
311-
working-directory: ${{env.BUILD_DIR}}
312-
run: ctest -C ${{matrix.build_type}} --output-on-failure --test-dir test
313-
314-
L0:
315-
uses: ./.github/workflows/reusable_gpu.yml
316-
with:
317-
provider: "LEVEL_ZERO"
318-
runner: "L0"
319-
L0-BMG:
320-
uses: ./.github/workflows/reusable_gpu.yml
321-
with:
322-
provider: "LEVEL_ZERO"
323-
runner: "L0-BMG"
324-
os: "['Ubuntu']"
325-
CUDA:
326-
uses: ./.github/workflows/reusable_gpu.yml
327-
with:
328-
provider: "CUDA"
329-
runner: "CUDA"
330-
331-
# Full execution of QEMU tests
332-
QEMU:
333-
uses: ./.github/workflows/reusable_qemu.yml
334-
with:
335-
short_run: false
336-
# Beside the 2 LTS Ubuntu, we also test this on the latest Ubuntu - to be updated
337-
# every 6 months, so we verify the latest version of packages (compilers, etc.).
338-
os: "['ubuntu-22.04', 'ubuntu-24.04', 'ubuntu-24.10']"
339-
340-
Benchmarks:
341-
uses: ./.github/workflows/reusable_benchmarks.yml
342-
permissions:
343-
contents: write
344-
pull-requests: write
345-
with:
346-
pr_no: '0'
347-
bench_script_params: '--save Baseline_PVC'
348-
349-
SYCL:
350-
uses: ./.github/workflows/reusable_sycl.yml

0 commit comments

Comments
 (0)