Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Andarwinux committed Nov 8, 2024
1 parent 37eb8d1 commit 9b164a4
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 14 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build-lts.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
22 changes: 14 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 9b164a4

Please sign in to comment.