~rabbits/orca-toy

ref: 772d25a0a9534db04b3e195bec5db8fbe4107c1e orca-toy/.build.yml -rw-r--r-- 688 bytes
772d25a0 — Derek Stevens op-midi: add velocity (def 127) and length (def 0) ports 5 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
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