forked from Hello_User/mirror-test
Compare commits
35 Commits
7afcad994c
...
252b9adb64
Author | SHA1 | Date | |
---|---|---|---|
|
252b9adb64 | ||
|
e56a229c5d | ||
|
24cd575b27 | ||
|
2f2e235203 | ||
|
fc86fd4388 | ||
|
6a7b33ca3a | ||
|
5862db8d50 | ||
|
b94af35199 | ||
|
9253da06ea | ||
|
fe560670ae | ||
|
f427d7dadd | ||
|
8fa05791cb | ||
|
8772766483 | ||
|
70389b8e72 | ||
|
10cd629106 | ||
|
a81bc90f5d | ||
|
098767816a | ||
|
441dbecbc0 | ||
|
80c749185f | ||
|
d6484ec94d | ||
|
9e7a162794 | ||
|
e432ec4ba3 | ||
dceabd3d36 | |||
d90fb7273f | |||
|
7c1a791769 | ||
4d717b49a3 | |||
b6d0ef9b67 | |||
d85d3b70ba | |||
|
b948ea574e | ||
bb8d654f2a | |||
403646a1e5 | |||
|
5384f085d0 | ||
|
f6c14657f8 | ||
02d2b28523 | |||
|
0134775247 |
24
.drone.yml
Normal file
24
.drone.yml
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
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
|
||||||
|
- chmod +x setupbuild.sh
|
||||||
|
- sh setupbuild.sh
|
||||||
|
- su build
|
||||||
|
- MAKEFLAGS="-j$(nproc)" makepkg --syncdeps --noconfirm
|
@ -1 +1 @@
|
|||||||
hahahaha
|
hahahahaaaaaaaaaa
|
6
setupbuild.sh
Normal file
6
setupbuild.sh
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
useradd --no-create-home --shell=/bin/sh build && usermod -L build
|
||||||
|
echo "build ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
|
||||||
|
echo "root ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
|
||||||
|
chown -R build:build /drone/src
|
Loading…
Reference in New Issue
Block a user