diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..845f4f0 --- /dev/null +++ b/.drone.yml @@ -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