forked from Hello_User/mirror-test
25 lines
651 B
YAML
25 lines
651 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
trigger:
|
|
event:
|
|
- push
|
|
|
|
steps:
|
|
- name: Fetch Upstream
|
|
image: archlinux:base-devel
|
|
commands:
|
|
- pacman -Sy git --noconfirm
|
|
- git remote add upstream https://git.tau.aperturect.com/Hello_User/mirror-test.git
|
|
- git fetch upstream
|
|
- git merge upstream/main
|
|
- name: Build linux-vfio
|
|
image: archlinux:base-devel
|
|
commands:
|
|
- pacman -Syu --noconfirm
|
|
- useradd --no-create-home --shell=/bin/false build && usermod -L build
|
|
- echo "build ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
|
|
- echo "root ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
|
|
- su build
|
|
- MAKEFLAGS="-j$(nproc)" makepkg --syncdeps |