mirror of
https://github.com/OwO-Network/DeepLX.git
synced 2025-06-08 01:53:24 +00:00
Add Windows Support
This commit is contained in:
parent
42924b94ee
commit
5833d10be9
@ -1,10 +1,20 @@
|
|||||||
|
|
||||||
|
###
|
||||||
|
# @Author: Vincent Young
|
||||||
|
# @Date: 2022-10-20 02:19:06
|
||||||
|
# @LastEditors: Vincent Young
|
||||||
|
# @LastEditTime: 2022-10-20 09:51:57
|
||||||
|
# @FilePath: /DeepLX/.cross_compile.sh
|
||||||
|
# @Telegram: https://t.me/missuo
|
||||||
|
#
|
||||||
|
# Copyright © 2022 by Vincent, All Rights Reserved.
|
||||||
|
###
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
DIST_PREFIX="deeplx"
|
DIST_PREFIX="deeplx"
|
||||||
DEBUG_MODE=${2}
|
DEBUG_MODE=${2}
|
||||||
TARGET_DIR="dist"
|
TARGET_DIR="dist"
|
||||||
PLATFORMS="darwin/amd64 darwin/arm64 linux/386 linux/amd64 linux/arm64 linux/mips openbsd/amd64 openbsd/arm64 freebsd/amd64 freebsd/arm64"
|
PLATFORMS="darwin/amd64 darwin/arm64 linux/386 linux/amd64 linux/arm64 linux/mips openbsd/amd64 openbsd/arm64 freebsd/amd64 freebsd/arm64 windows/386 windows/amd64"
|
||||||
|
|
||||||
rm -rf ${TARGET_DIR}
|
rm -rf ${TARGET_DIR}
|
||||||
mkdir ${TARGET_DIR}
|
mkdir ${TARGET_DIR}
|
||||||
|
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -33,5 +33,7 @@ jobs:
|
|||||||
dist/deeplx_openbsd_arm64
|
dist/deeplx_openbsd_arm64
|
||||||
dist/deeplx_freebsd_amd64
|
dist/deeplx_freebsd_amd64
|
||||||
dist/deeplx_freebsd_arm64
|
dist/deeplx_freebsd_arm64
|
||||||
|
dist/deeplx_windows_amd64
|
||||||
|
dist/deeplx_windows_386
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GT_Token }}
|
GITHUB_TOKEN: ${{ secrets.GT_Token }}
|
||||||
|
Loading…
Reference in New Issue
Block a user