X-Git-Url: https://git.r.bdr.sh/rbdr/lyricli/blobdiff_plain/2c7a9e4ef523afc33a3c1ecccc1f68b8020f8a8b..c5c243ff9e531c571bc09170e697b692e43f978b:/.builds/x86_64.yml diff --git a/.builds/x86_64.yml b/.builds/x86_64.yml index d71c62b..8f95303 100644 --- a/.builds/x86_64.yml +++ b/.builds/x86_64.yml @@ -1,16 +1,16 @@ -image: fedora/latest -arch: x86_64 +image: archlinux packages: - make - rsync - coreutils - - cargo - clang - lld - - rust - rustup + - aarch64-linux-gnu-gcc - tar - gzip + - wget + - pod2man sources: - git@git.sr.ht:~rbdr/lyricli secrets: @@ -18,6 +18,16 @@ secrets: - 0b0d3e5e-fbdc-41d0-97ed-ee654fe797ff - a802b200-167c-4926-b013-45b238e1261e tasks: + - prepare_openssl: | + wget https://www.openssl.org/source/openssl-3.2.1.tar.gz + tar xzvf openssl-3.2.1.tar.gz + cd openssl-3.2.1 + ./Configure linux-aarch64 --prefix=/usr/local/aarch64-linux-gnu --openssldir=/usr/local/aarch64-linux-gnu/ssl --cross-compile-prefix=aarch64-linux-gnu- -static + make + sudo make install + - set_rust: | + cd lyricli + make set_rust - install_builders: | cargo install cargo-generate-rpm cargo install cargo-deb