From 41646917576a57ce7b8408b509de8ffca1558d21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BA=90=E6=96=87=E9=9B=A8?= <41315874+fumiama@users.noreply.github.com> Date: Fri, 27 Mar 2026 23:08:38 +0800 Subject: [PATCH] fix: ci --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f6adbd0..5b59aa8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,7 +54,6 @@ jobs: - os: ubuntu-latest name: Linux cmake_extra_args: -DCMAKE_INSTALL_PREFIX=/usr/local - build_args: --parallel 2 install_cmd: >- sudo cmake --install level-zero-build && sudo cp level-zero-build/lib/libze_null.so /usr/local/lib/ && @@ -62,7 +61,6 @@ jobs: - os: windows-latest name: Windows cmake_extra_args: "" - build_args: --parallel install_cmd: >- for dll in $(find level-zero-build -name "*.dll"); do cp "$dll" /c/Windows/System32/; @@ -92,7 +90,7 @@ jobs: -DCMAKE_BUILD_TYPE=Release \ -DBUILD_TESTING=OFF \ ${{ matrix.cmake_extra_args }} - cmake --build level-zero-build --config Release ${{ matrix.build_args }} + cmake --build level-zero-build --config Release --parallel $(nproc) ${{ matrix.install_cmd }} - name: Run examples @@ -144,6 +142,8 @@ jobs: with: version: v2.11 args: --fix + env: + CGO_ENABLED: "0" - name: Check for changes id: diff