mirror of https://git.sr.ht/~rabbits/nasu
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
598 B
22 lines
598 B
image: debian/stable |
|
oauth: pages.sr.ht/PAGES:RW |
|
environment: |
|
SITE: rabbits.srht.site/nasu |
|
sources: |
|
- https://git.sr.ht/~rabbits/uxn11 |
|
- https://git.sr.ht/~rabbits/nasu |
|
tasks: |
|
- prepare: | |
|
cd uxn11 |
|
cc src/uxnasm.c -o ../uxnasm |
|
- build: | |
|
cd nasu |
|
../uxnasm src/nasu.tal ../nasu.rom |
|
- upload: | |
|
tar -czf out.tar.gz nasu.rom |
|
acurl() { |
|
set +x |
|
curl -H "Authorization: Bearer ${OAUTH2_TOKEN}" "${@}" |
|
set -x |
|
} |
|
acurl -fsS "https://pages.sr.ht/publish/${SITE}" -Fcontent=@out.tar.gz
|
|
|