]> git.r.bdr.sh - rbdr/lyricli/commitdiff
Add x86 while I figure out aarch64
authorRuben Beltran del Rio <redacted>
Sat, 16 Mar 2024 22:44:58 +0000 (23:44 +0100)
committerRuben Beltran del Rio <redacted>
Sat, 16 Mar 2024 22:44:58 +0000 (23:44 +0100)
.builds/aarch64.yml [deleted file]
.builds/x86_64.yml

diff --git a/.builds/aarch64.yml b/.builds/aarch64.yml
deleted file mode 100644 (file)
index b08a361..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-image: fedora/latest
-arch: aarch64
-packages:
-  - make
-  - rsync
-  - coreutils
-  - cargo
-  - clang
-  - lld
-  - rust
-  - rustup
-  - tar
-  - gzip
-sources:
-  - git@git.sr.ht:~rbdr/lyricli
-secrets:
-  - 89d3b676-25d6-4942-8231-38b73aa62bf6
-  - 0b0d3e5e-fbdc-41d0-97ed-ee654fe797ff
-  - a802b200-167c-4926-b013-45b238e1261e
-tasks:
-  - install_builders: |
-      cargo install cargo-generate-rpm
-      cargo install cargo-deb
-  - package: |
-      cp ~/.env lyricli/.env
-      cd lyricli
-      make ci
index d71c62b67c81fcba7e331a0e34b2d67f532f2eee..8f9530354e53af28b41cf656754d23d32a8ccefe 100644 (file)
@@ -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