@@ -3,180 +3,15 @@ name: Nightly
33
44# This job is run at 00:00 UTC every day or on demand.
55on :
6- workflow_dispatch :
7- schedule :
8- - cron : ' 0 0 * * *'
6+ push :
7+ branches-ignore :
8+ - ' dependabot/**'
9+ pull_request :
910
1011permissions :
1112 contents : read
1213
1314jobs :
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-
92- # TODO fix #843
93- # icx:
94- # name: ICX
95- # env:
96- # 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"
97- # BUILD_DIR : "${{github.workspace}}/build"
98- # strategy:
99- # matrix:
100- # os: ['windows-2019', 'windows-2022']
101- # build_type: [Debug]
102- # compiler: [{c: icx, cxx: icx}]
103- # shared_library: ['ON', 'OFF']
104- # include:
105- # - os: windows-2022
106- # build_type: Release
107- # compiler: {c: icx, cxx: icx}
108- # shared_library: 'ON'
109- #
110- # runs-on: ${{matrix.os}}
111- #
112- # steps:
113- # - name: Checkout
114- # uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
115- # with:
116- # fetch-depth: 0
117- #
118- # - name: Initialize vcpkg
119- # uses: lukka/run-vcpkg@5e0cab206a5ea620130caf672fce3e4a6b5666a1 # v11.5
120- # with:
121- # vcpkgGitCommitId: 3dd44b931481d7a8e9ba412621fa810232b66289
122- # vcpkgDirectory: ${{env.BUILD_DIR}}/vcpkg
123- # vcpkgJsonGlob: '**/vcpkg.json'
124- #
125- # - name: Install dependencies
126- # run: vcpkg install
127- #
128- # - name: Install Ninja
129- # uses: seanmiddleditch/gha-setup-ninja@96bed6edff20d1dd61ecff9b75cc519d516e6401 # v5
130- #
131- # - name: Download icx compiler
132- # env:
133- # # Link source: https://www.intel.com/content/www/us/en/developer/tools/oneapi/dpc-compiler-download.html
134- # 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"
135- # run: |
136- # Invoke-WebRequest -Uri "${{ env.CMPLR_LINK }}" -OutFile compiler_install.exe
137- #
138- # - name: Install icx compiler
139- # shell: cmd
140- # run: |
141- # start /b /wait .\compiler_install.exe -s -x -f extracted --log extract.log
142- # extracted\bootstrapper.exe -s --action install --eula=accept -p=NEED_VS2017_INTEGRATION=0 ^
143- # -p=NEED_VS2019_INTEGRATION=0 -p=NEED_VS2022_INTEGRATION=0 --log-dir=.
144- #
145- # - name: Configure build
146- # shell: cmd
147- # run: |
148- # call "C:\Program Files (x86)\Intel\oneAPI\setvars.bat"
149- # call "C:\Program Files (x86)\Intel\oneAPI\setvars-vcvarsall.bat"
150- # cmake ^
151- # -B ${{env.BUILD_DIR}} ^
152- # -DCMAKE_PREFIX_PATH="${{env.VCPKG_PATH}}" ^
153- # -DCMAKE_C_COMPILER=${{matrix.compiler.c}} ^
154- # -DCMAKE_CXX_COMPILER=${{matrix.compiler.cxx}} ^
155- # -G Ninja ^
156- # -DUMF_BUILD_SHARED_LIBRARY=${{matrix.shared_library}} ^
157- # -DUMF_FORMAT_CODE_STYLE=OFF ^
158- # -DUMF_DEVELOPER_MODE=ON ^
159- # -DUMF_BUILD_LIBUMF_POOL_DISJOINT=ON ^
160- # -DUMF_BUILD_LIBUMF_POOL_JEMALLOC=ON ^
161- # -DUMF_BUILD_LEVEL_ZERO_PROVIDER=ON ^
162- # -DUMF_BUILD_CUDA_PROVIDER=ON ^
163- # -DUMF_TESTS_FAIL_ON_SKIP=ON
164- #
165- # - name: Build UMF
166- # shell: cmd
167- # run: |
168- # call "C:\Program Files (x86)\Intel\oneAPI\setvars.bat"
169- # call "C:\Program Files (x86)\Intel\oneAPI\setvars-vcvarsall.bat"
170- # cmake --build ${{env.BUILD_DIR}} --config ${{matrix.build_type}} -j %NUMBER_OF_PROCESSORS%
171- #
172- # - name: Run tests
173- # shell: cmd
174- # working-directory: ${{env.BUILD_DIR}}
175- # run: |
176- # call "C:\Program Files (x86)\Intel\oneAPI\setvars.bat"
177- # call "C:\Program Files (x86)\Intel\oneAPI\setvars-vcvarsall.bat"
178- # ctest -C ${{matrix.build_type}} --output-on-failure --test-dir test
179-
18015 L0 :
18116 uses : ./.github/workflows/reusable_gpu.yml
18217 with :
@@ -185,12 +20,3 @@ jobs:
18520 uses : ./.github/workflows/reusable_gpu.yml
18621 with :
18722 name : " CUDA"
188-
189- # Full execution of QEMU tests
190- QEMU :
191- uses : ./.github/workflows/reusable_qemu.yml
192- with :
193- short_run : false
194- # Beside the 2 LTS Ubuntu, we also test this on the latest Ubuntu - to be updated
195- # every 6 months, so we verify the latest version of packages (compilers, etc.).
196- os : " ['ubuntu-22.04', 'ubuntu-24.04', 'ubuntu-24.10']"
0 commit comments