~rabbits/orca-toy

ref: a9a2128f0d991dd09e9d8c6dc08f05ee700727ca orca-toy/.build.yml -rw-r--r-- 692 bytes
a9a2128fneauoire Extended grid size 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
image: debian/stable
oauth: pages.sr.ht/PAGES:RW
environment:
    SITE: rabbits.srht.site/orca-toy
sources:
    - https://git.sr.ht/~rabbits/orca-toy
tasks:
    - prepare: |
        curl -fsS https://rabbits.srht.site/uxn/uxn-lin64.tar.gz | tar -zx
    - build: |
        cd orca-toy
        ../uxn/uxnasm src/orca.tal ../orca.rom
    - upload: |
        tar -czf out.tar.gz orca.rom
        acurl() {
            set +x
            curl -H "Authorization: Bearer ${OAUTH2_TOKEN}" "${@}"
            set -x
        }
        acurl -fsS "https://pages.sr.ht/publish/${SITE}" -Fcontent=@out.tar.gz
        acurl -fsS "https://pages.sr.ht/publish/${SITE}" -Fcontent=@out.tar.gz -Fprotocol=GEMINI