From 9752df8aaee44880bf9fb5d8372f5b6bfe81d764 Mon Sep 17 00:00:00 2001 From: nilaoda Date: Thu, 28 Nov 2024 22:09:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20linux-musl=20=E7=BC=96?= =?UTF-8?q?=E8=AF=91=20(#515)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 注意: musl构建版本不支持全球化 --- .github/workflows/build_latest.yml | 75 ++++++++++++++++++++------- src/N_m3u8DL-RE/Directory.Build.props | 2 +- 2 files changed, 57 insertions(+), 20 deletions(-) diff --git a/.github/workflows/build_latest.yml b/.github/workflows/build_latest.yml index fd0e5a2..5202ed9 100644 --- a/.github/workflows/build_latest.yml +++ b/.github/workflows/build_latest.yml @@ -42,7 +42,7 @@ jobs: - name: Upload Artifact[win-x86] uses: actions/upload-artifact@v3.1.3 with: - name: N_m3u8DL-RE_Beta_win_NT6.0-x86 + name: N_m3u8DL-RE_Beta_win-NT6.0-x86 path: artifact-x86\N_m3u8DL-RE.exe build-win-x64-arm64: @@ -71,20 +71,31 @@ jobs: name: N_m3u8DL-RE_Beta_win-arm64 path: artifact-arm64\N_m3u8DL-RE.exe - build-linux-x64: + build-linux-x64-arm64: runs-on: ubuntu-latest - container: ubuntu:18.04 steps: - - run: apt-get update - - run: apt-get install -y curl wget + # https://learn.microsoft.com/zh-cn/dotnet/core/deploying/native-aot/cross-compile + - run: | + sudo dpkg --add-architecture arm64 + sudo bash -c 'cat > /etc/apt/sources.list.d/arm64.list <zh-CN;zh-TW;en-US true true - aarch64-linux-gnu-objcopy + aarch64-linux-gnu-objcopy