# SPDX-License-Identifier: 0BSD image: debian/sid secrets: - f226accf-2ed4-4d94-ab0e-35f195dd8273 # ossp-uuid SSH key packages: - clang - lld - perl - autoconf - automake - libtool - libmd-dev - groff - ghostscript tasks: - autoreconf: | autoreconf -fi ossp-uuid mkdir -p ossp-uuid/gcc ossp-uuid/clang - build-gcc: | cd ossp-uuid/gcc ../configure --with-cxx --with-dce --with-perl --with-perl-compat make make check make distclean - build-clang: | cd ossp-uuid/clang ../configure --with-cxx --with-dce --with-perl --with-perl-compat CC=clang CXX=clang++ LDFLAGS=-fuse-ld=lld make make check - install: | sudo make -C ossp-uuid/clang install - manual: | sudo sh -c 'curl https://ra.ws.co.ls/~nabijaczleweli/groff-1.23-unfucking/blob/trunk/mdoc.local >> /etc/groff/mdoc.local' git -C ossp-uuid/ worktree add ../ossp-uuid-man man cd ossp-uuid-man git ls-tree -z --name-only HEAD | xargs -0 rm -r rm -rf ../ossp-uuid/autom4te.cache find ../ossp-uuid -name '*.[1-8]' -exec cp -vt . {} + find ../ossp-uuid -name '*.[1-8]perl' -exec cp -vt . {} + || : sed -e 's/…/.../g' $(printf '%s\n' *.[0-8]* | awk -F. '{print substr($2, 2) "\t" $2 "\t" $0}' | tr - _ | sort | tr _ - | cut -f3) | groff -K utf8 -tpe -mdoc -Tps -dpaper=a4 -P-pa4 > ossp-uuid.ps ps2pdf ossp-uuid.ps ossp-uuid.pdf git add . git config user.email "nabijaczleweli/autouploader@nabijaczleweli.xyz" git config user.name "наб autouploader" git commit -m "Manpage update by job $JOB_ID" || exit 0 git remote set-url origin 'git@git.sr.ht:~nabijaczleweli/ossp-uuid' ssh-keyscan git.sr.ht > ~/.ssh/known_hosts git push # - void: | # curl https://repo-default.voidlinux.org/live/current/sha256sum.txt | grep -w tar | grep -w x86_64 | grep -m1 musl > sha256sum.txt # curl -SL https://repo-default.voidlinux.org/live/current/"$(awk -F'[( )]' '{print $3}' < sha256sum.txt)" | tar -xJ # cp /etc/resolv.conf etc # printf '%s\n' 'xbps-install -yS' \ # 'xbps-install -yu xbps' \ # 'xbps-install -y make gcc pkgconf fuse3-devel libcurl-devel' \ # 'mount -t devtmpfs devtmpfs /dev' \ # 'make -C ossp-uuid clean' \ # 'make -C ossp-uuid VERSION=sid.yml SOURCE_DATE_EPOCH=0 all check' \ # 'make -C ossp-uuid install' | # sudo chroot . sh -ex