Add windows arm64 target to CI GUI (#487)

This commit is contained in:
Sophon
2024-11-21 23:14:09 +08:00
committed by GitHub
parent dd2236c697
commit 8588c9201a
4 changed files with 16 additions and 0 deletions

View File

@@ -58,6 +58,11 @@ jobs:
GUI_TARGET: x86_64-pc-windows-msvc
ARTIFACT_NAME: windows-x86_64
- TARGET: aarch64-pc-windows-msvc
OS: windows-latest
GUI_TARGET: aarch64-pc-windows-msvc
ARTIFACT_NAME: windows-arm64
runs-on: ${{ matrix.OS }}
env:
NAME: easytier
@@ -151,6 +156,15 @@ jobs:
echo "PKG_CONFIG_SYSROOT_DIR=/usr/aarch64-linux-gnu/" >> "$GITHUB_ENV"
echo "PKG_CONFIG_PATH=/usr/lib/aarch64-linux-gnu/pkgconfig/" >> "$GITHUB_ENV"
- name: copy correct DLLs
if: ${{ matrix.OS == 'windows-latest' }}
run: |
if [[ $GUI_TARGET =~ ^aarch64.*$ ]]; then
cp ./easytier/third_party/arm64/*.dll ./easytier-gui/src-tauri/
else
cp ./easytier/third_party/*.dll ./easytier-gui/src-tauri/
fi
- name: Build GUI
if: ${{ matrix.GUI_TARGET != '' }}
uses: tauri-apps/tauri-action@v0

2
.gitignore vendored
View File

@@ -35,3 +35,5 @@ easytier-panic.log
node_modules
.vite
easytier-gui/src-tauri/*.dll

Binary file not shown.

Binary file not shown.