ci: add linux arm64 build (#935)

This commit is contained in:
铺盖崽 authored and GitHub committed 2025-02-16 10:54:25 +08:00
1 parent 654e57e946
commit 589f10c7ef
2 files changed
+45 -3

No files matched your search

+3 -2
View File
@@ -63,7 +63,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ windows-latest, macos-latest, ubuntu-22.04 ]
os: [ windows-latest, macos-latest, ubuntu-22.04, ubuntu-22.04-arm ]
needs: [ test ]
steps:
- uses: actions/checkout@v3
@@ -73,6 +73,7 @@ jobs:
- uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
channel: master
- if: runner.os == 'Windows'
run: |
go build -tags nosqlite -ldflags="-w -s" -buildmode=c-shared -o ui/flutter/windows/libgopeed.dll github.com/GopeedLab/gopeed/bind/desktop
@@ -164,4 +165,4 @@ jobs:
cd ../../
rm -rf cmd/web/dist
cp -r ui/flutter/build/web cmd/web/dist
docker build -t gopeed .
docker build -t gopeed .