...
|
...
|
@@ -45,8 +45,8 @@ tasks:
|
45
|
45
|
[ -d "${PROJECT}" ] || git clone "https://git.sr.ht/~rabbits/${PROJECT}"
|
46
|
46
|
( cd "${PROJECT}" && ../uxn/uxn/uxnasm "${F#*/}" "../rompack/uxn/${ROMNAME}" || rm -f "../rompack/uxn/${ROMNAME}" )
|
47
|
47
|
done
|
48
|
|
- tar -czf out/rompack.tar.gz -C rompack uxn
|
49
|
|
- ( cd rompack && zip -qr ../out/rompack.zip uxn )
|
|
48
|
+ tar -czf out/uxn-rompack.tar.gz -C rompack uxn
|
|
49
|
+ ( cd rompack && zip -qr ../out/uxn-rompack.zip uxn )
|
50
|
50
|
[ -e ~/.ssh/id_rsa ] || complete-build
|
51
|
51
|
- build-windows: |
|
52
|
52
|
ssh win "rm -f uxn-windows-64bit.zip; export PATH=\"\${PATH}:/mingw64/bin\"; set -ex; cd uxn; git fetch; git checkout .; git clean -xfd; git checkout $(cd uxn && git rev-parse HEAD); MSYSTEM=MSYS ./build.sh --no-run; mv bin uxn; zip -qr ../uxn-windows-64bit.zip uxn"
|
...
|
...
|
@@ -57,13 +57,13 @@ tasks:
|
57
|
57
|
- upload: |
|
58
|
58
|
if [ "$(cd uxn && git rev-parse HEAD)" != "$(cd uxn && git rev-parse origin/main)" ]; then exit; fi
|
59
|
59
|
ls -l out
|
60
|
|
- tar -czf out.tar.gz -C out uxn-linux-amd64.tar.gz uxn-windows-64bit.zip uxn-macos.tar.gz
|
|
60
|
+ tar -czf out.tar.gz -C out .
|
61
|
61
|
acurl() {
|
62
|
62
|
set +x
|
63
|
63
|
curl -H "Authorization: Bearer ${OAUTH2_TOKEN}" "${@}"
|
64
|
64
|
set -x
|
65
|
65
|
}
|
66
|
|
- acurl -f "https://pages.sr.ht/publish/${SITE}" -Fcontent=@out.tar.gz
|
67
|
|
- acurl -f "https://pages.sr.ht/publish/${SITE}" -Fcontent=@out.tar.gz -Fprotocol=GEMINI
|
|
66
|
+ acurl -fsS "https://pages.sr.ht/publish/${SITE}" -Fcontent=@out.tar.gz
|
|
67
|
+ acurl -fsS "https://pages.sr.ht/publish/${SITE}" -Fcontent=@out.tar.gz -Fprotocol=GEMINI
|
68
|
68
|
- build-9front: |
|
69
|
69
|
ssh 9front "$(cd uxn && git rev-parse HEAD)"
|