summaryrefslogtreecommitdiff
path: root/decryptor
diff options
context:
space:
mode:
authorLi Zhineng <[email protected]>2024-07-06 15:29:39 +0800
committerGitHub <[email protected]>2024-07-06 15:29:39 +0800
commita5ea194931117e1bf18a48118a5e930f58b7ada6 (patch)
tree18508fd42e9847bba90539dd72e01870da7959b1 /decryptor
parentd75b66b20217c3df378db138566c028038c0b9b3 (diff)
downloadchina-unicom-iptv-gd-a5ea194931117e1bf18a48118a5e930f58b7ada6.tar.gz
china-unicom-iptv-gd-a5ea194931117e1bf18a48118a5e930f58b7ada6.zip
Continuous Integration (#3)
* ci * remove branch limits * publish workflow * specify working directory * install libssl-dev on ubuntu-latest * drop x86_64-unknown-linux-musl * fix tar * list files * prefix working directory * install openssl * use cross * fix section * remove openssl * use edge images * quoted * edge image for aarch64-unknown-linux-gnu * custom dockerfile * build-essential && remove CAMKE* * combine pre-build with target * fix package not found * install pkg-config * remove build-essential * install build-essential * $CROSS_DEB_ARCH * fix arch * remove openssl * remove file listing * remove prefixed path * use actions/upload-artifact@v4 * fix upload step * Revert "fix upload step" This reverts commit da9814e42ce568a1b0707f23df02696ad373dc22. * Revert "use actions/upload-artifact@v4" This reverts commit 0bcc2486c6a4bd4fc865eedb458098724ae6b88d. * Revert "remove prefixed path" This reverts commit 620b985b18e84cf97e40695c9852762c853434b6. * Revert "fix tar" This reverts commit a013b23161e0b9193161e57f9a878b04b2eba874. * remove -p for mkdir * add target: x86_64-apple-darwin
Diffstat (limited to 'decryptor')
-rw-r--r--decryptor/Cargo.toml11
1 files changed, 11 insertions, 0 deletions
diff --git a/decryptor/Cargo.toml b/decryptor/Cargo.toml
index 80d0338..df38d4d 100644
--- a/decryptor/Cargo.toml
+++ b/decryptor/Cargo.toml
@@ -6,3 +6,14 @@ edition = "2021"
[dependencies]
hex = "0.4.3"
openssl = "0.10.64"
+
+[package.metadata.cross.target.aarch64-unknown-linux-gnu]
+dockerfile = "../docker/Dockerfile.aarch64-unknown-linux-gnu"
+pre-build = [
+ "sed 's/^deb http/deb [arch=amd64] http/' -i '/etc/apt/sources.list'",
+ "echo 'deb [arch=arm64] http://au.archive.ubuntu.com/pub/ubuntu/ports jammy main restricted universe multiverse' >> /etc/apt/sources.list",
+ "echo 'deb [arch=arm64] http://au.archive.ubuntu.com/pub/ubuntu/ports jammy-updates main restricted universe multiverse' >> /etc/apt/sources.list",
+ "echo 'deb [arch=arm64] http://au.archive.ubuntu.com/pub/ubuntu/ports jammy-backports main restricted universe multiverse' >> /etc/apt/sources.list",
+ "dpkg --add-architecture $CROSS_DEB_ARCH",
+ "apt-get update && apt-get -y install build-essential pkg-config libssl-dev:$CROSS_DEB_ARCH"
+]