]> git.r.bdr.sh - rbdr/lyricli/blob - .builds/x86_64.yml
8f9530354e53af28b41cf656754d23d32a8ccefe
[rbdr/lyricli] / .builds / x86_64.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 - pod2man
14 sources:
15 - git@git.sr.ht:~rbdr/lyricli
16 secrets:
17 - 89d3b676-25d6-4942-8231-38b73aa62bf6
18 - 0b0d3e5e-fbdc-41d0-97ed-ee654fe797ff
19 - a802b200-167c-4926-b013-45b238e1261e
20 tasks:
21 - prepare_openssl: |
22 wget https://www.openssl.org/source/openssl-3.2.1.tar.gz
23 tar xzvf openssl-3.2.1.tar.gz
24 cd openssl-3.2.1
25 ./Configure linux-aarch64 --prefix=/usr/local/aarch64-linux-gnu --openssldir=/usr/local/aarch64-linux-gnu/ssl --cross-compile-prefix=aarch64-linux-gnu- -static
26 make
27 sudo make install
28 - set_rust: |
29 cd lyricli
30 make set_rust
31 - install_builders: |
32 cargo install cargo-generate-rpm
33 cargo install cargo-deb
34 - package: |
35 cp ~/.env lyricli/.env
36 cd lyricli
37 make ci