CI: Add PDS and BMQ current Arch packages

This commit is contained in:
Tk-Glitch
2022-07-14 19:29:38 +02:00
parent 345a79eee5
commit 26bd0f1325
2 changed files with 60 additions and 0 deletions

30
.github/workflows/bmq-current-arch.yml vendored Normal file
View File

@@ -0,0 +1,30 @@
name: Arch Linux BMQ current CI
on:
workflow_dispatch:
push:
jobs:
build:
runs-on: ubuntu-latest
container: archlinux:latest
steps:
- uses: actions/checkout@v2
- name: Compile
run: |
pacman -Syu --noconfirm base-devel sudo
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="bmq"/' 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

30
.github/workflows/pds-current-arch.yml vendored Normal file
View File

@@ -0,0 +1,30 @@
name: Arch Linux PDS current CI
on:
workflow_dispatch:
push:
jobs:
build:
runs-on: ubuntu-latest
container: archlinux:latest
steps:
- uses: actions/checkout@v2
- name: Compile
run: |
pacman -Syu --noconfirm base-devel sudo
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="pds"/' 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