Skip to content

Commit ec634ff

Browse files
authored
Merge pull request #1438 from PatKamin/disable-fuzztests
Disable fuzz tests on ubuntu-22.04 runner
2 parents 418ad53 + 8714b85 commit ec634ff

File tree

2 files changed

+49
-47
lines changed

2 files changed

+49
-47
lines changed

.github/workflows/cmake.yml

Lines changed: 45 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -115,50 +115,51 @@ 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-
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"
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"
162163

163164
adapter-build-hw:
164165
name: Build - Adapters on HW

.github/workflows/nightly.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ jobs:
4848
LD_LIBRARY_PATH=${{github.workspace}}/dpcpp_compiler/lib
4949
cmake --build ${{github.workspace}}/build -j $(nproc)
5050
51-
- name: Fuzz long test
52-
working-directory: ${{github.workspace}}/build
53-
run: ctest -C ${{matrix.build_type}} --output-on-failure -L "fuzz-long"
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"

0 commit comments

Comments
 (0)