mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 07:47:24 +00:00
Add windows arm64
This commit is contained in:
27
.github/workflows/main.yml
vendored
27
.github/workflows/main.yml
vendored
@@ -129,6 +129,27 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: windows_build
|
name: windows_build
|
||||||
path: build/windows/Venera-*
|
path: build/windows/Venera-*
|
||||||
|
Build_Windows_Arm64:
|
||||||
|
runs-on: windows-11-arm
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: install dependencies
|
||||||
|
run: |
|
||||||
|
choco install yq -y
|
||||||
|
pip install httpx
|
||||||
|
- uses: subosito/flutter-action@v2
|
||||||
|
with:
|
||||||
|
channel: "master"
|
||||||
|
# Only master branch supports windows arm64
|
||||||
|
# flutter-version-file: pubspec.yaml
|
||||||
|
- name: build
|
||||||
|
run: |
|
||||||
|
flutter pub get
|
||||||
|
python windows/build_arm64.py
|
||||||
|
- uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: windows_arm64_build
|
||||||
|
path: build/windows/Venera-*
|
||||||
Build_Linux:
|
Build_Linux:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
@@ -256,7 +277,7 @@ jobs:
|
|||||||
|
|
||||||
Release:
|
Release:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
needs: [Build_MacOS, Build_IOS, Build_Android, Build_Windows, Build_Linux, Build_Linux_ARM64]
|
needs: [Build_MacOS, Build_IOS, Build_Android, Build_Windows, Build_Windows_Arm64, Build_Linux, Build_Linux_ARM64]
|
||||||
if: github.event_name == 'release' # 仅在 push 事件时执行
|
if: github.event_name == 'release' # 仅在 push 事件时执行
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v4
|
||||||
@@ -275,6 +296,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: windows_build
|
name: windows_build
|
||||||
path: outputs
|
path: outputs
|
||||||
|
- uses: actions/download-artifact@v4
|
||||||
|
with:
|
||||||
|
name: windows_arm64_build
|
||||||
|
path: outputs
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: deb_build
|
name: deb_build
|
||||||
|
Reference in New Issue
Block a user