Added build manifest

This commit is contained in:
Devine Lu Linvega 2023-06-08 11:08:53 -07:00
parent 01fe355051
commit 94972ed7da
1 changed files with 23 additions and 0 deletions

23
.build.yml Normal file
View File

@ -0,0 +1,23 @@
environment:
BUILD_SUBMITTER: git.sr.ht
SITE: rabbits.srht.site/uxn11
image: debian/stable
packages:
- curl
- libx11-dev
shell: false
oauth: pages.sr.ht/PAGES:RW
sources:
- https://git.sr.ht/~rabbits/uxn11
tasks:
- build: |
cd uxn11
./build.sh --norun
- upload: |
tar -czf out.tar.gz uxn11/bin
acurl() {
set +x
curl -H "Authorization: Bearer ${OAUTH2_TOKEN}" "${@}"
set -x
}
acurl -fsS "https://pages.sr.ht/publish/${SITE}" -Fcontent=@out.tar.gz