Skip to content

Commit 3bfc6cb

Browse files
committed
fix: ci
1 parent 4426ef8 commit 3bfc6cb

File tree

1 file changed

+0
-31
lines changed

1 file changed

+0
-31
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -47,46 +47,15 @@ jobs:
4747
include:
4848
- os: ubuntu-latest
4949
name: Linux
50-
cmake_extra_args: -DCMAKE_INSTALL_PREFIX=/usr/local
51-
install_cmd: >-
52-
sudo cmake --install level-zero-build &&
53-
sudo cp level-zero-build/lib/libze_null.so /usr/local/lib/ &&
54-
sudo ldconfig
5550
- os: windows-latest
5651
name: Windows
57-
cmake_extra_args: ""
58-
install_cmd: >-
59-
for dll in $(find level-zero-build -name "*.dll");
60-
do cp "$dll" /c/Windows/System32/;
61-
done
6252
steps:
6353
- uses: actions/checkout@v4
6454

6555
- uses: actions/setup-go@v5
6656
with:
6757
go-version-file: go.mod
6858

69-
- name: Download Intel Level Zero Source Code
70-
shell: bash
71-
run: |
72-
# The apt runtime package (libze1) does NOT ship libze_null, which is
73-
# required for ZE_ENABLE_NULL_DRIVER=1. Build from source instead so the
74-
# loader and the null driver are both present
75-
RELEASE=$(curl -sf https://api.github.com/repos/oneapi-src/level-zero/releases/latest \
76-
| jq -r '.tag_name')
77-
git clone https://github.com/oneapi-src/level-zero.git --depth=1 \
78-
--branch "$RELEASE" level-zero-src
79-
80-
- name: Build & Install Intel Level Zero
81-
shell: bash
82-
run: |
83-
cmake -S level-zero-src -B level-zero-build \
84-
-DCMAKE_BUILD_TYPE=Release \
85-
-DBUILD_TESTING=OFF \
86-
${{ matrix.cmake_extra_args }}
87-
cmake --build level-zero-build --config Release --parallel $(nproc)
88-
${{ matrix.install_cmd }}
89-
9059
- name: Find and remove all .cpp files
9160
run: |
9261
find . -name "*.cpp" -type f -delete

0 commit comments

Comments
 (0)