Skip to content

Archlinux Kernel based on different schedulers and some other performance improvements.

workflow

P. Jung6bdd1db2e4a6
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index c79cb48e..8ce9e0c2 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -3,22 +3,16 @@ on:
workflow_dispatch:
jobs:
pkgbuild:
- runs-on: [self-hosted, linux, x64]
steps:
- - name: Checkout
- uses: actions/[email protected]
- - name: Makepkg Build and Check
- id: makepkg
- uses: edlanglois/[email protected]
+ runs-on: self-hosted
+ - name: Login to Docker Hub
+ uses: docker/login-action@v1
with:
- pkgdir: "linux-cachyos"
- namcapDisable: 1
- makepkgArgs: "--skipinteg"
- aurDeps: 1
- # - name: Release
- # uses: ncipollo/[email protected]
- # with:
- # allowUpdates: 1
- # tag: "v5.14.11-1"
- # artifacts: "./*/*.zst"
- # token: ${{ secrets.GITHUB_TOKEN }}
+ username: ${{ secrets.DOCKERHUB_USERNAME }}
+ password: ${{ secrets.DOCKERHUB_TOKEN }}
+ - name: run script
+ uses: actions/[email protected]
+ run: |
+ chmod +x ./script.sh
+ ./script.sh
+ shell: bash
diff --git a/main.yml b/main.yml
deleted file mode 100644
index 05eb032f..00000000
--- a/main.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-name: PKGBUILD CI
-on:
- workflow_dispatch:
-jobs:
- pkgbuild:
- runs-on: ubuntu-latest
- steps:
- - name: Checkout
- uses: actions/[email protected]
- - name: Makepkg Build and Check
- id: makepkg
- uses: edlanglois/[email protected]
- with:
- pkgdir: "linux-cachyos"
- namcapDisable: 1
- makepkgArgs: "--skippgpcheck"
- aurDeps: 1
- # - name: Release
- # uses: ncipollo/[email protected]
- # with:
- # allowUpdates: 1
- # tag: "v5.14.11-1"
- # artifacts: "./*/*.zst"
- # token: ${{ secrets.GITHUB_TOKEN }}
-
-
diff --git a/script.sh b/script.sh
new file mode 100755
index 00000000..9ac71c4b
--- /dev/null
+++ b/script.sh
@@ -0,0 +1,19 @@
+#!/usr/bin/env bash
+
+find . -name "PKGBUILD" | xargs -I {} sed -i 's/arch=(x86_64)/arch=(x86_64_v3)/' {}
+
+find . -name "PKGBUILD" | xargs -I {} sed -i "s/arch=('x86_64')/arch=('x86_64_v3')/" {}
+
+
+files=$(find . -name "PKGBUILD")
+
+for f in $files
+do
+ d=$(dirname $f)
+ cd $d
+ docker run --name dockerbuild -e EXPORT_PKG=1 -v $PWD:/pkg pttrr/docker-makepkg-v3:latest
+ docker rm dockerbuild
+ cd ..
+done
+
+mv */*.tar.zst* /home/ptr1337/packages/