forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: KenHV <[email protected]>
- Loading branch information
Showing
3 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
env: | ||
CIRRUS_CLONE_DEPTH: "1" | ||
GH_AUTH: "ENCRYPTED[!37f49a3c2ff53ae3cd6478518356b31d939652e0113563bc5eb7810872807212776b2a02c17c21f6228eb967162fb357!]" | ||
|
||
generic_task: | ||
name: Generic build | ||
timeout_in: 120m | ||
container: | ||
image: archlinux:base-devel | ||
cpu: 8 | ||
memory: 4G | ||
setup_env_script: | ||
- pacman -Syu --needed --noconfirm bc libelf pahole cpio perl tar xz | ||
git zstd github-cli kmod | ||
- gh auth login --with-token <<< "$GH_AUTH" | ||
- sed -i '/E_ROOT/d' /usr/bin/makepkg | ||
- sed -i "s/PKGEXT='.pkg.tar.xz'/PKGEXT='.pkg.tar.zst'/" /etc/makepkg.conf | ||
- echo 'COMPRESSZST+=(--threads=0)' >> /etc/makepkg.conf | ||
build_script: | ||
- env ci=y makepkg -s --nodeps | ||
release_script: | ||
- VER=$(grep "VERSION =" Makefile | head -1 | sed "s/.*= //" ) | ||
- PATCH=$(grep "PATCHLEVEL =" Makefile | head -1 | sed "s/.*= //") | ||
- SUB=$(grep "SUBLEVEL =" Makefile | head -1 | sed "s/.*= //") | ||
- TAG="${VER}.${PATCH}.${SUB}" | ||
- TARGET="${VER}.${PATCH}" | ||
- gh release create "${TAG}" *.pkg.tar.zst -t "${TAG}" -F notes.md --target "${TARGET}" | ||
artifacts: | ||
path: "*.pkg.tar.zst" | ||
|
||
athena_task: | ||
name: Athena build | ||
timeout_in: 120m | ||
container: | ||
image: archlinux:base-devel | ||
cpu: 8 | ||
memory: 4G | ||
setup_env_script: | ||
- pacman -Syu --needed --noconfirm bc libelf pahole cpio perl tar xz | ||
git zstd kmod | ||
- sed -i '/E_ROOT/d' /usr/bin/makepkg | ||
- sed -i "s/PKGEXT='.pkg.tar.xz'/PKGEXT='.pkg.tar.zst'/" /etc/makepkg.conf | ||
- echo 'COMPRESSZST+=(--threads=0)' >> /etc/makepkg.conf | ||
build_script: | ||
- env ci=y personal=y makepkg -s --nodeps | ||
artifacts: | ||
path: "*.pkg.tar.zst" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -162,3 +162,6 @@ x509.genkey | |
|
||
# Documentation toolchain | ||
sphinx_*/ | ||
|
||
# CI | ||
!.cirrus.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
**Installation:** | ||
Download linux-kensur and linux-kensur-headers packages and run | ||
`sudo pacman -U linux-kensur-*` |