~singpolyma/cheogram

ref: 3bd9c3870d41e3af2f469f2a3904025aef29a767 cheogram/.builds/guix.yml -rw-r--r-- 917 bytes
3bd9c387Stephen Paul Weber -O2 takes too much RAM for CI 1 year, 2 months 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
image: guix
packages:
- plzip
sources:
- https://git.singpolyma.net/cheogram
secrets:
- 9ded4157-4cf9-42ae-b7d0-55eb6e52ea37
- fd52c9ce-04e8-4684-af6c-1ab78d2e124a
artifacts:
- cheogram.scm
- cheogram.nar.lz
tasks:
- bake: |
    printf "(define-module (cheogram))\n" >> cheogram.scm
    sed '/^;;;;$/q' cheogram/guix.scm >> cheogram.scm
    printf "(define-public cheogram\n\t" >> cheogram.scm
    cd cheogram
    printf '(load "%s/guix.scm")\n(write cheogram-baked)\n' "$(pwd)" | guix repl /dev/stdin >> ../cheogram.scm
    cd -
    printf ")\n" >> cheogram.scm
    rm -rf cheogram
- build: |
    guix build --no-grafts -L. cheogram
- archive: |
    sudo mv signing-key.pub /etc/guix/
    sudo mv signing-key.sec /etc/guix/
    sudo chown root:root /etc/guix/signing-key.sec
    sudo chmod 0400 /etc/guix/signing-key.sec
    guix archive --export -r --no-grafts -L. cheogram > cheogram.nar
    plzip cheogram.nar