From 769aaadd37b743af3163a315f892f111aef9ae13 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 22:58:18 +0800 Subject: [PATCH] fix: ci --- .github/workflows/ci.yml | 10 ++++++++-- .golangci.yml | 3 --- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index db6b159..f6adbd0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,12 +55,18 @@ jobs: name: Linux cmake_extra_args: -DCMAKE_INSTALL_PREFIX=/usr/local build_args: --parallel 2 - install_cmd: sudo cmake --install level-zero-build && sudo ldconfig + install_cmd: >- + sudo cmake --install level-zero-build && + sudo cp level-zero-build/lib/libze_null.so /usr/local/lib/ && + sudo ldconfig - 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/; done' + install_cmd: >- + for dll in $(find level-zero-build -name "*.dll"); + do cp "$dll" /c/Windows/System32/; + done steps: - uses: actions/checkout@v4 diff --git a/.golangci.yml b/.golangci.yml index f101908..4bb21f4 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,8 +1,5 @@ version: "2" -run: - fix: true - formatters: enable: - gofmt