CI: Add CFS current Arch package

This commit is contained in:
Tk-Glitch
2022-07-14 19:23:38 +02:00
parent da0762faf9
commit 1ee19343f0

29
.github/workflows/cfs-current-arch.yml vendored Normal file
View File

@@ -0,0 +1,29 @@
name: Arch Linux CFS current CI
on:
workflow_dispatch:
push:
jobs:
build:
runs-on: ubuntu-latest
container: archlinux:latest
steps:
- uses: actions/checkout@v2
- name: Compile
run: |
useradd user -G wheel && echo "user ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
chown user -R ..
chown user -R /tmp
sed -i 's/noccache="false"/noccache="true"/' customization.cfg
sed -i 's/cpusched=""/cpusched="cfs"/' customization.cfg
sed -i 's/anbox=""/anbox="true"/' customization.cfg
sed -i 's/processor_opt=""/processor_opt="generic"/' customization.cfg
su user -c "yes ''|PKGDEST=/tmp/linux-tkg makepkg --noconfirm -s"
- name: Archive the artifacts
uses: actions/upload-artifact@v2
with:
name: linux-tkg-build
path: /tmp/linux-tkg