]> git.r.bdr.sh - rbdr/lyricli/commitdiff
Build openssl
authorRuben Beltran del Rio <redacted>
Sat, 16 Mar 2024 16:54:24 +0000 (17:54 +0100)
committerRuben Beltran del Rio <redacted>
Sat, 16 Mar 2024 16:54:24 +0000 (17:54 +0100)
.build.yml

index e2a84c51de212c591ff9b3ee83b923afc1f9e499..691293d4b97d4f0dbcb7653d5474aa0ecbd1e7fe 100644 (file)
@@ -9,6 +9,7 @@ packages:
   - aarch64-linux-gnu-gcc
   - tar
   - gzip
   - aarch64-linux-gnu-gcc
   - tar
   - gzip
+  - wget
 sources:
   - git@git.sr.ht:~rbdr/lyricli
 secrets:
 sources:
   - git@git.sr.ht:~rbdr/lyricli
 secrets:
@@ -16,6 +17,13 @@ secrets:
   - 0b0d3e5e-fbdc-41d0-97ed-ee654fe797ff
   - a802b200-167c-4926-b013-45b238e1261e
 tasks:
   - 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
   - set_rust: |
       cd lyricli
       make set_rust