]> git.r.bdr.sh - rbdr/lyricli/blob - .build.yml
691293d4b97d4f0dbcb7653d5474aa0ecbd1e7fe
[rbdr/lyricli] / .build.yml
1 image: archlinux
2 packages:
3 - make
4 - rsync
5 - coreutils
6 - clang
7 - lld
8 - rustup
9 - aarch64-linux-gnu-gcc
10 - tar
11 - gzip
12 - wget
13 sources:
14 - git@git.sr.ht:~rbdr/lyricli
15 secrets:
16 - 89d3b676-25d6-4942-8231-38b73aa62bf6
17 - 0b0d3e5e-fbdc-41d0-97ed-ee654fe797ff
18 - a802b200-167c-4926-b013-45b238e1261e
19 tasks:
20 - prepare_openssl: |
21 wget https://www.openssl.org/source/openssl-3.2.1.tar.gz
22 tar xzvf openssl-3.2.1.tar.gz
23 cd openssl-3.2.1
24 ./Configure linux-aarch64 --prefix=/usr/local/aarch64-linux-gnu --openssldir=/usr/local/aarch64-linux-gnu/ssl --cross-compile-prefix=aarch64-linux-gnu- -static
25 make
26 sudo make install
27 - set_rust: |
28 cd lyricli
29 make set_rust
30 - install_builders: |
31 cargo install cargo-generate-rpm
32 cargo install cargo-deb
33 - package: |
34 cp ~/.env lyricli/.env
35 cd lyricli
36 make ci