From 9b164a4cbe057461beabd21fed7015c50b9b7864 Mon Sep 17 00:00:00 2001 From: Andarwinux Date: Fri, 8 Nov 2024 00:00:00 +0000 Subject: [PATCH] test --- .github/workflows/build-lts.yml | 12 ++++++------ .github/workflows/build.yml | 22 ++++++++++++++-------- 2 files changed, 20 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build-lts.yml b/.github/workflows/build-lts.yml index a7156fc..4b69228 100644 --- a/.github/workflows/build-lts.yml +++ b/.github/workflows/build-lts.yml @@ -1,14 +1,14 @@ name: Kernel LTS CI on: - push: - branches: [ main ] - pull_request: - branches: [ main ] + #push: + # branches: [ main ] + #pull_request: + # branches: [ main ] workflow_dispatch: # manual trigger - schedule: - - cron: '0 0 1 * *' + #schedule: + # - cron: '0 0 1 * *' env: IS_LTS: YES diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b39f4ee..38df691 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,14 +1,14 @@ name: Kernel CI on: - push: - branches: [ main ] - pull_request: - branches: [ main ] + #push: + # branches: [ main ] + #pull_request: + # branches: [ main ] workflow_dispatch: # manual trigger - schedule: - - cron: '0 6,14,22 * * *' + #schedule: + # - cron: '0 6,14,22 * * *' env: IS_LTS: NO @@ -42,7 +42,13 @@ jobs: - name: Install dependencies id: dep run: | - pacman -Syu --noconfirm pahole xmlto inetutils bc cpio jq llvm llvm-libs clang lld ccache + pacman -Syu --noconfirm pahole xmlto inetutils bc cpio jq ccache go mimalloc + GOBIN=/usr/bin go install go.chromium.org/luci/cipd/client/cmd/...@latest + cipd install fuchsia/third_party/clang/linux-amd64 latest -root /usr/local/fuchsia-clang + echo "PATH=/usr/local/fuchsia-clang/bin:$PATH" >> $GITHUB_ENV + echo "LD_PRELOAD=/lib/libmimalloc.so" >> $GITHUB_ENV + echo "MIMALLOC_ALLOW_LARGE_OS_PAGES=1" >> $GITHUB_ENV + - name: Trust this directory run: git config --global --add safe.directory '*' # v2.35.3 or later @@ -64,7 +70,7 @@ jobs: scripts/config -e ${{ matrix.arch }} # Load version info into env - echo "CLANG_VERSION=$(pacman -Qs clang | grep local/clang | sed "s#.*local/clang \(.*\)#\1#")" | tee -a $GITHUB_ENV + echo "CLANG_VERSION=$(clang -dumpversion)" | tee -a $GITHUB_ENV export CURRENT_VERSION=$(make kernelrelease) # must query with a token, or will fail with api rate limit on public runners