4949 - name : Install apt packages
5050 run : |
5151 sudo apt-get update
52- sudo apt-get install -y doxygen ${{matrix.compiler.c}}
52+ sudo apt-get install -y ${{matrix.compiler.c}} devscripts
5353
5454 - name : Install libhwloc
5555 run : .github/scripts/install_hwloc.sh
6262 run : |
6363 sudo apt-get install -y ${{matrix.compiler.cxx}}
6464
65- - name : Install pip packages
66- run : pip install -r third_party/requirements.txt
67-
6865 - name : Install libbacktrace
6966 if : matrix.libbacktrace == '-DVAL_USE_LIBBACKTRACE_BACKTRACE=ON'
7067 run : |
@@ -79,12 +76,13 @@ jobs:
7976 if : matrix.os == 'ubuntu-22.04'
8077 run : |
8178 sudo apt install libncurses5
82- wget -O ${{github.workspace}}/dpcpp_compiler.tar.gz https://github.com/intel/llvm/releases/download/nightly-2024-01-29 /sycl_linux.tar.gz
79+ wget -O ${{github.workspace}}/dpcpp_compiler.tar.gz https://github.com/intel/llvm/releases/download/nightly-2024-09-27 /sycl_linux.tar.gz
8380 mkdir -p ${{github.workspace}}/dpcpp_compiler
8481 tar -xvf ${{github.workspace}}/dpcpp_compiler.tar.gz -C ${{github.workspace}}/dpcpp_compiler
8582
8683 - name : Configure CMake
8784 if : matrix.os == 'ubuntu-22.04'
85+ # WEXTRA: https://github.com/oneapi-src/unified-runtime/issues/2109
8886 run : >
8987 cmake
9088 -B${{github.workspace}}/build
@@ -93,14 +91,18 @@ jobs:
9391 -DUR_ENABLE_TRACING=ON
9492 -DCMAKE_BUILD_TYPE=${{matrix.build_type}}
9593 -DUR_BUILD_TESTS=ON
96- -DUR_FORMAT_CPP_STYLE=ON
94+ -DUR_FORMAT_CPP_STYLE=OFF
95+ -DUR_DEVELOPER_MODE=ON
9796 -DUR_DPCXX=${{github.workspace}}/dpcpp_compiler/bin/clang++
97+ -DUR_CONFORMANCE_TEST_LOADER=OFF
9898 ${{matrix.libbacktrace}}
9999 ${{matrix.pool_tracking}}
100100 ${{matrix.latency_tracking}}
101101
102102 - name : Configure CMake
103103 if : matrix.os == 'ubuntu-20.04'
104+ # WEXTRA: https://github.com/oneapi-src/unified-runtime/issues/2109
105+ # Note: Disable Werror, since 20.04 raises different ones than 22.04
104106 run : >
105107 cmake
106108 -B${{github.workspace}}/build
@@ -109,21 +111,20 @@ jobs:
109111 -DUR_ENABLE_TRACING=ON
110112 -DCMAKE_BUILD_TYPE=${{matrix.build_type}}
111113 -DUR_BUILD_TESTS=ON
112- -DUR_FORMAT_CPP_STYLE=ON
114+ -DUR_FORMAT_CPP_STYLE=OFF
115+ -DUR_DEVELOPER_MODE=OFF
113116 ${{matrix.libbacktrace}}
114117 ${{matrix.pool_tracking}}
115118 ${{matrix.latency_tracking}}
116119
117- - name : Generate source from spec, check for uncommitted diff
118- if : matrix.os == 'ubuntu-22.04'
119- run : cmake --build ${{github.workspace}}/build --target check-generated
120-
121- - name : Verify that each source file contains a license
122- run : cmake --build ${{github.workspace}}/build --target verify-licenses
123-
124120 - name : Build
125121 run : cmake --build ${{github.workspace}}/build -j $(nproc)
126122
123+ - name : Verify hardening flags have been set
124+ run : cmake --build ${{github.workspace}}/build --target verify-hardening
125+ # https://github.com/oneapi-src/unified-runtime/issues/2120
126+ if : ${{ matrix.compiler.cxx != 'clang++' && matrix.os != 'ubuntu-20.04' }}
127+
127128 - name : Test
128129 working-directory : ${{github.workspace}}/build
129130 run : ctest -C ${{matrix.build_type}} --output-on-failure -L "umf|loader|validation|tracing|unit|urtrace"
@@ -251,20 +252,6 @@ jobs:
251252 steps :
252253 - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
253254
254- - uses : actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
255- with :
256- python-version : 3.9
257-
258- - name : Install prerequisites
259- run : python3 -m pip install -r third_party/requirements.txt
260-
261- - name : Install doxygen
262- run : |
263- $WorkingDir = $PWD.Path
264- Invoke-WebRequest -Uri https://github.com/doxygen/doxygen/releases/download/Release_1_9_8/doxygen-1.9.8.windows.x64.bin.zip -OutFile "$WorkingDir\doxygen.zip"
265- Expand-Archive -Path "$WorkingDir\doxygen.zip"
266- Add-Content $env:GITHUB_PATH "$WorkingDir\doxygen"
267-
268255 - name : Install hwloc
269256 run : vcpkg install hwloc:x64-windows
270257
@@ -282,14 +269,10 @@ jobs:
282269 -DUR_ENABLE_TRACING=ON
283270 -DUR_DEVELOPER_MODE=ON
284271 -DUR_BUILD_TESTS=ON
285- -DUR_FORMAT_CPP_STYLE=ON
272+ -DUR_FORMAT_CPP_STYLE=OFF
273+ -DUR_CONFORMANCE_TEST_LOADER=OFF
286274 ${{matrix.adapter.var}}
287275
288- # TODO: re-enable when check-generated is fixed for windows runners see #888
289- # - name: Generate source from spec, check for uncommitted diff
290- # if: matrix.os == 'windows-2022'
291- # run: cmake --build ${{github.workspace}}/build --target check-generated --config ${{matrix.build_type}}
292-
293276 - name : Build all
294277 run : cmake --build ${{github.workspace}}/build --config ${{matrix.build_type}} -j $Env:NUMBER_OF_PROCESSORS
295278
@@ -301,7 +284,7 @@ jobs:
301284 name : Build - MacOS
302285 strategy :
303286 matrix :
304- os : ['macos-12', 'macos- 13']
287+ os : ['macos-13']
305288 runs-on : ${{matrix.os}}
306289
307290 steps :
0 commit comments