mirror of
https://mirror.suhoan.cn/https://github.com/EasyTier/EasyTier.git
synced 2025-12-12 20:57:26 +08:00
Add windows arm64 target to CI GUI (#487)
This commit is contained in:
14
.github/workflows/gui.yml
vendored
14
.github/workflows/gui.yml
vendored
@@ -58,6 +58,11 @@ jobs:
|
|||||||
GUI_TARGET: x86_64-pc-windows-msvc
|
GUI_TARGET: x86_64-pc-windows-msvc
|
||||||
ARTIFACT_NAME: windows-x86_64
|
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 }}
|
runs-on: ${{ matrix.OS }}
|
||||||
env:
|
env:
|
||||||
NAME: easytier
|
NAME: easytier
|
||||||
@@ -151,6 +156,15 @@ jobs:
|
|||||||
echo "PKG_CONFIG_SYSROOT_DIR=/usr/aarch64-linux-gnu/" >> "$GITHUB_ENV"
|
echo "PKG_CONFIG_SYSROOT_DIR=/usr/aarch64-linux-gnu/" >> "$GITHUB_ENV"
|
||||||
echo "PKG_CONFIG_PATH=/usr/lib/aarch64-linux-gnu/pkgconfig/" >> "$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
|
- name: Build GUI
|
||||||
if: ${{ matrix.GUI_TARGET != '' }}
|
if: ${{ matrix.GUI_TARGET != '' }}
|
||||||
uses: tauri-apps/tauri-action@v0
|
uses: tauri-apps/tauri-action@v0
|
||||||
|
|||||||
2
.gitignore
vendored
2
.gitignore
vendored
@@ -35,3 +35,5 @@ easytier-panic.log
|
|||||||
node_modules
|
node_modules
|
||||||
|
|
||||||
.vite
|
.vite
|
||||||
|
|
||||||
|
easytier-gui/src-tauri/*.dll
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user