commit d953f95
Devine Lu Linvega
·
2025-04-19 17:35:53 +0000 UTC
parent f47367e
Fixed CI
1 files changed,
+5,
-3
+5,
-3
1@@ -11,13 +11,15 @@ sources:
2 - https://git.sr.ht/~rabbits/uxn11
3 tasks:
4 - build: |
5- cc -DNDEBUG -O2 -g0 -s uxn11/src/uxn11.c -lX11 -lutil -o uxn11
6- cc -DNDEBUG -O2 -g0 -s uxn11/src/uxncli.c -lutil -o uxncli
7+ mkdir bin/
8+ cc -DNDEBUG -O2 -g0 -s uxn11/src/uxn11.c -lX11 -lutil -o bin/uxn11
9+ cc -DNDEBUG -O2 -g0 -s uxn11/src/uxncli.c -lutil -o bin/uxncli
10 - upload: |
11- tar -czf out.tar.gz uxn11 uxncli
12+ tar -czf out.tar.gz bin/
13 acurl() {
14 set +x
15 curl -H "Authorization: Bearer ${OAUTH2_TOKEN}" "${@}"
16 set -x
17 }
18 acurl -fsS "https://pages.sr.ht/publish/${SITE}" -Fcontent=@out.tar.gz
19+