From 4ad9f8348802585f3a97404416741be102c63dee Mon Sep 17 00:00:00 2001 From: iamazy Date: Tue, 4 Mar 2025 10:04:09 +0800 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8dc4b62..0576904 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,7 +6,7 @@ on: jobs: build: - runs-on: self-hosted # or `ubuntu-22.04` + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 @@ -33,4 +33,10 @@ jobs: run: | cargo build --release cmake -S . -B build -DCMAKE_CXX_COMPILER=clang++-14 -DCMAKE_C_COMPILER=clang-14 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_EXPORT_COMPILE_COMMANDS=ON - cmake --build build -j 32 + cmake --build build -j 1 + - uses: actions/upload-artifact@v4 + with: + path: | + build/* + name: 3fs-x86-64 + compression-level: 9