]> git.r.bdr.sh - rbdr/lyricli/blobdiff - .build.yml
Attempt to set the aarch64 ld library
[rbdr/lyricli] / .build.yml
index 9affd205b168ad719fdb7b656b3b45fab864ac21..691293d4b97d4f0dbcb7653d5474aa0ecbd1e7fe 100644 (file)
@@ -9,13 +9,21 @@ packages:
   - aarch64-linux-gnu-gcc
   - tar
   - gzip
+  - wget
 sources:
   - git@git.sr.ht:~rbdr/lyricli
 secrets:
   - 89d3b676-25d6-4942-8231-38b73aa62bf6
   - 0b0d3e5e-fbdc-41d0-97ed-ee654fe797ff
-  - 9816d802-9e86-4a4f-a103-9da1e90ebccc
+  - 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
@@ -23,5 +31,6 @@ tasks:
       cargo install cargo-generate-rpm
       cargo install cargo-deb
   - package: |
+      cp ~/.env lyricli/.env
       cd lyricli
       make ci