Skip to content

Commit

Permalink
drone: initialize
Browse files Browse the repository at this point in the history
  • Loading branch information
Jebaitedneko committed Apr 4, 2021
1 parent 19714c8 commit 71b7b35
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
kind: pipeline
name: builder

steps:
- name: build
image: archlinux:base-devel
commands:
- curl -fsSL "https://repo.archlinuxcn.org/x86_64/glibc-linux4-2.33-4-x86_64.pkg.tar.zst" | bsdtar -C / -xvf -
- pacman -Syu --needed --noconfirm ccache xmlto inetutils bc cpio python-sphinx python-sphinx_rtd_theme graphviz imagemagick git
- sed -i '/E_ROOT/d' /usr/bin/makepkg
- sed -i "s/PKGEXT='.pkg.tar.xz'/PKGEXT='.pkg.tar.zst'/" /etc/makepkg.conf
- echo 'COMPRESSZST+=(--threads=0)' >> /etc/makepkg.conf
- cd /drone/src
- env cibuild=y _microarchitecture=0 makepkg -s --skipinteg --skipchecksums --skippgpcheck
- bash upload.sh

0 comments on commit 71b7b35

Please sign in to comment.