~sircmpwn/hare unlisted

hare/.build.yml -rw-r--r-- 823 bytes
d0da2862Alexey Yerin format::ini: new module 2 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
image: alpine/latest
oauth: pages.sr.ht/PAGES:RW
sources:
- https://git.sr.ht/~sircmpwn/qbe
- https://git.sr.ht/~sircmpwn/harec
- https://git.sr.ht/~sircmpwn/hare
tasks:
- qbe: |
    cd qbe
    make PREFIX=/usr
    sudo make install PREFIX=/usr
- harec: |
    mkdir harec/build
    cd harec/build
    ../configure --prefix=/usr
    make -j2
    sudo make install
- hare: |
    cd hare
    cp config.example.mk config.mk
    make
- tests: |
    cd hare
    make .bin/hare-tests
- check: |
    cd hare
    make check
- docs: |
    if [ $BUILD_SUBMITTER != "git.sr.ht" ]
    then
        echo "Skipping docs for non-git.sr.ht build"
        exit
    fi
    cd hare
    . hare.sh
    ./scripts/gen-docs
    tar -C docs/html -cvz . > docs.tar.gz
    acurl -f https://pages.sr.ht/publish/docs.harelang.org -Fcontent=@docs.tar.gz