]> git.r.bdr.sh - rbdr/lyricli/blobdiff - .builds/x86_64.yml
Add x86 while I figure out aarch64
[rbdr/lyricli] / .builds / x86_64.yml
index 63bb79553f35b2f606d6885f48ef46e2ea987ae3..8f9530354e53af28b41cf656754d23d32a8ccefe 100644 (file)
@@ -1,15 +1,16 @@
-image: fedora/rawhide
-arch: x86_64
+image: archlinux
 packages:
   - make
   - rsync
   - coreutils
   - clang
   - lld
-  - rust
   - rustup
+  - aarch64-linux-gnu-gcc
   - tar
   - gzip
+  - wget
+  - pod2man
 sources:
   - git@git.sr.ht:~rbdr/lyricli
 secrets:
@@ -17,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