Skip to content

Commit 2550f6b

Browse files
authored
Merge pull request #1473 from oneapi-src/revert-1438-disable-fuzztests
Revert "Disable fuzz tests on ubuntu-22.04 runner"
2 parents 8dba1fd + e2431f4 commit 2550f6b

File tree

2 files changed

+47
-49
lines changed

2 files changed

+47
-49
lines changed

.github/workflows/cmake.yml

Lines changed: 44 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -115,51 +115,50 @@ jobs:
115115
working-directory: ${{github.workspace}}/build
116116
run: ctest -C ${{matrix.build_type}} --output-on-failure -L "umf|loader|validation|tracing|unit|urtrace"
117117

118-
# Disable short fuzz tests until the ubuntu-22.04 runner is fixed
119-
# fuzztest-build:
120-
# name: Build and run quick fuzztest scenarios
121-
# strategy:
122-
# matrix:
123-
# build_type: [Debug, Release]
124-
# compiler: [{c: clang, cxx: clang++}]
125-
126-
# runs-on: 'ubuntu-22.04'
127-
128-
# steps:
129-
# - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
130-
131-
# - name: Install pip packages
132-
# run: pip install -r third_party/requirements.txt
133-
134-
# - name: Download DPC++
135-
# run: |
136-
# sudo apt install libncurses5
137-
# wget -O ${{github.workspace}}/dpcpp_compiler.tar.gz https://github.com/intel/llvm/releases/download/sycl-nightly%2F20230626/dpcpp-compiler.tar.gz
138-
# tar -xvf ${{github.workspace}}/dpcpp_compiler.tar.gz
139-
140-
# - name: Setup DPC++
141-
# run: |
142-
# source ${{github.workspace}}/dpcpp_compiler/startup.sh
143-
144-
# - name: Configure CMake
145-
# run: >
146-
# cmake
147-
# -B${{github.workspace}}/build
148-
# -DCMAKE_C_COMPILER=${{matrix.compiler.c}}
149-
# -DCMAKE_CXX_COMPILER=${{matrix.compiler.cxx}}
150-
# -DUR_ENABLE_TRACING=ON
151-
# -DCMAKE_BUILD_TYPE=${{matrix.build_type}}
152-
# -DUR_BUILD_TESTS=ON
153-
# -DUR_USE_ASAN=ON
154-
# -DUR_USE_UBSAN=ON
155-
# -DUR_DPCXX=${{github.workspace}}/dpcpp_compiler/bin/clang++
156-
157-
# - name: Build
158-
# run: cmake --build ${{github.workspace}}/build -j $(nproc)
159-
160-
# - name: Fuzz test
161-
# working-directory: ${{github.workspace}}/build
162-
# run: ctest -C ${{matrix.build_type}} --output-on-failure -L "fuzz-short"
118+
fuzztest-build:
119+
name: Build and run quick fuzztest scenarios
120+
strategy:
121+
matrix:
122+
build_type: [Debug, Release]
123+
compiler: [{c: clang, cxx: clang++}]
124+
125+
runs-on: 'ubuntu-22.04'
126+
127+
steps:
128+
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
129+
130+
- name: Install pip packages
131+
run: pip install -r third_party/requirements.txt
132+
133+
- name: Download DPC++
134+
run: |
135+
sudo apt install libncurses5
136+
wget -O ${{github.workspace}}/dpcpp_compiler.tar.gz https://github.com/intel/llvm/releases/download/sycl-nightly%2F20230626/dpcpp-compiler.tar.gz
137+
tar -xvf ${{github.workspace}}/dpcpp_compiler.tar.gz
138+
139+
- name: Setup DPC++
140+
run: |
141+
source ${{github.workspace}}/dpcpp_compiler/startup.sh
142+
143+
- name: Configure CMake
144+
run: >
145+
cmake
146+
-B${{github.workspace}}/build
147+
-DCMAKE_C_COMPILER=${{matrix.compiler.c}}
148+
-DCMAKE_CXX_COMPILER=${{matrix.compiler.cxx}}
149+
-DUR_ENABLE_TRACING=ON
150+
-DCMAKE_BUILD_TYPE=${{matrix.build_type}}
151+
-DUR_BUILD_TESTS=ON
152+
-DUR_USE_ASAN=ON
153+
-DUR_USE_UBSAN=ON
154+
-DUR_DPCXX=${{github.workspace}}/dpcpp_compiler/bin/clang++
155+
156+
- name: Build
157+
run: cmake --build ${{github.workspace}}/build -j $(nproc)
158+
159+
- name: Fuzz test
160+
working-directory: ${{github.workspace}}/build
161+
run: ctest -C ${{matrix.build_type}} --output-on-failure -L "fuzz-short"
163162

164163
adapter-build-hw:
165164
name: Build - Adapters on HW

.github/workflows/nightly.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ jobs:
4848
LD_LIBRARY_PATH=${{github.workspace}}/dpcpp_compiler/lib
4949
cmake --build ${{github.workspace}}/build -j $(nproc)
5050
51-
# Disable long fuzz tests until the ubuntu-22.04 runner is fixed
52-
# - name: Fuzz long test
53-
# working-directory: ${{github.workspace}}/build
54-
# run: ctest -C ${{matrix.build_type}} --output-on-failure -L "fuzz-long"
51+
- name: Fuzz long test
52+
working-directory: ${{github.workspace}}/build
53+
run: ctest -C ${{matrix.build_type}} --output-on-failure -L "fuzz-long"

0 commit comments

Comments
 (0)