]> git.r.bdr.sh - rbdr/lyricli/blobdiff - .build.yml
Add pod2man
[rbdr/lyricli] / .build.yml
index 090162d391567d6426605fdc91c2d017fbc8a875..8f9530354e53af28b41cf656754d23d32a8ccefe 100644 (file)
@@ -9,12 +9,22 @@ packages:
   - aarch64-linux-gnu-gcc
   - tar
   - gzip
   - aarch64-linux-gnu-gcc
   - tar
   - gzip
+  - wget
+  - pod2man
 sources:
   - git@git.sr.ht:~rbdr/lyricli
 secrets:
   - 89d3b676-25d6-4942-8231-38b73aa62bf6
   - 0b0d3e5e-fbdc-41d0-97ed-ee654fe797ff
 sources:
   - git@git.sr.ht:~rbdr/lyricli
 secrets:
   - 89d3b676-25d6-4942-8231-38b73aa62bf6
   - 0b0d3e5e-fbdc-41d0-97ed-ee654fe797ff
+  - a802b200-167c-4926-b013-45b238e1261e
 tasks:
 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
   - set_rust: |
       cd lyricli
       make set_rust
@@ -22,5 +32,6 @@ tasks:
       cargo install cargo-generate-rpm
       cargo install cargo-deb
   - package: |
       cargo install cargo-generate-rpm
       cargo install cargo-deb
   - package: |
+      cp ~/.env lyricli/.env
       cd lyricli
       make ci
       cd lyricli
       make ci