2022-03-28 14:27:19 +00:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
|
2022-03-28 14:59:42 +00:00
|
|
|
trigger:
|
2022-03-28 19:31:26 +00:00
|
|
|
event:
|
|
|
|
- push
|
2022-03-28 14:59:42 +00:00
|
|
|
|
2022-03-28 14:27:19 +00:00
|
|
|
steps:
|
2022-03-28 14:59:42 +00:00
|
|
|
- name: Fetch Upstream
|
|
|
|
image: archlinux:base-devel
|
|
|
|
commands:
|
2022-03-28 19:31:26 +00:00
|
|
|
- pacman -Sy git --noconfirm
|
2022-03-28 14:59:42 +00:00
|
|
|
- git remote add upstream https://git.tau.aperturect.com/AUR/linux-vfio.git
|
|
|
|
- git fetch upstream
|
2022-03-28 19:32:10 +00:00
|
|
|
- git merge upstream/master
|
2022-03-28 14:59:42 +00:00
|
|
|
- name: Build linux-vfio
|
|
|
|
image: archlinux:base-devel
|
2022-03-28 14:27:19 +00:00
|
|
|
commands:
|
2022-03-28 14:59:42 +00:00
|
|
|
- pacman -Syu --noconfirm
|
2022-03-29 00:27:59 +00:00
|
|
|
- pacman -Sy curl --noconfirm
|
2022-03-28 19:31:26 +00:00
|
|
|
- chmod +x setupbuild.sh
|
|
|
|
- sh setupbuild.sh
|
|
|
|
- gpg --keyserver keys.gnupg.net --recv-keys 3B94A80E50A477C7
|
2022-03-29 00:27:59 +00:00
|
|
|
- curl https://keybase.io/heftig/pgp_keys.asc | gpg --import
|
2022-03-28 19:31:26 +00:00
|
|
|
- su build
|
2022-03-29 00:36:05 +00:00
|
|
|
- sudo chown -R $(whoami) ~/.gnupg/
|
|
|
|
- sudo chmod 600 ~/.gnupg/*
|
|
|
|
- sudo chmod 700 ~/.gnupg
|
2022-03-28 23:09:54 +00:00
|
|
|
- sudo gpg --keyserver keys.gnupg.net --recv-keys 3B94A80E50A477C7
|
2022-03-29 00:27:59 +00:00
|
|
|
- sudo curl https://keybase.io/heftig/pgp_keys.asc | gpg --import
|
2022-03-28 23:49:32 +00:00
|
|
|
- MAKEFLAGS="-j$(nproc)" makepkg --syncdeps --noconfirm -f --skipinteg
|