mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-17 23:06:30 -05:00
Add windows arm build (#39)
* Add windows arm build * Add windows arm build * Add windows arm build
This commit is contained in:
parent
d017ceda7d
commit
694180fc9a
@ -1,6 +1,7 @@
|
||||
SUPPORTED_MATRIX = [
|
||||
("windows", "amd64"),
|
||||
("windows", "386"),
|
||||
("windows", "arm"),
|
||||
("darwin", "amd64"),
|
||||
("linux", "amd64"),
|
||||
("linux", "386"),
|
||||
|
@ -36,6 +36,54 @@ def gen_targets(matrix):
|
||||
base = ":" + bin_name,
|
||||
)
|
||||
|
||||
bin_name = "v2ray_" + os + "_" + arch + "_armv7_nowindow"
|
||||
foreign_go_binary(
|
||||
name = bin_name,
|
||||
pkg = pkg,
|
||||
output = "w" + output + "_armv7",
|
||||
os = os,
|
||||
arch = arch,
|
||||
arm = "7",
|
||||
ld = "-H windowsgui",
|
||||
)
|
||||
|
||||
gpg_sign(
|
||||
name = bin_name + "_sig",
|
||||
base = ":" + bin_name,
|
||||
)
|
||||
|
||||
bin_name = "v2ray_" + os + "_" + arch + "_armv6_nowindow"
|
||||
foreign_go_binary(
|
||||
name = bin_name,
|
||||
pkg = pkg,
|
||||
output = "w" + output + "_armv6",
|
||||
os = os,
|
||||
arch = arch,
|
||||
arm = "6",
|
||||
ld = "-H windowsgui",
|
||||
)
|
||||
|
||||
gpg_sign(
|
||||
name = bin_name + "_sig",
|
||||
base = ":" + bin_name,
|
||||
)
|
||||
|
||||
bin_name = "v2ray_" + os + "_" + arch + "_armv5_nowindow"
|
||||
foreign_go_binary(
|
||||
name = bin_name,
|
||||
pkg = pkg,
|
||||
output = "w" + output + "_armv5",
|
||||
os = os,
|
||||
arch = arch,
|
||||
arm = "5",
|
||||
ld = "-H windowsgui",
|
||||
)
|
||||
|
||||
gpg_sign(
|
||||
name = bin_name + "_sig",
|
||||
base = ":" + bin_name,
|
||||
)
|
||||
|
||||
if arch in ["mips", "mipsle"]:
|
||||
bin_name = "v2ray_" + os + "_" + arch + "_softfloat"
|
||||
foreign_go_binary(
|
||||
|
@ -82,6 +82,37 @@ pkg_zip(
|
||||
mappings = gen_mappings("windows", "386"),
|
||||
)
|
||||
|
||||
pkg_zip(
|
||||
name = "v2ray_windows_arm_package",
|
||||
srcs = [
|
||||
":config_json",
|
||||
":doc",
|
||||
":geodata",
|
||||
"//infra/control/main:v2ctl_windows_arm",
|
||||
"//infra/control/main:v2ctl_windows_arm_sig",
|
||||
"//infra/control/main:v2ctl_windows_arm_armv7",
|
||||
"//infra/control/main:v2ctl_windows_arm_armv7_sig",
|
||||
"//main:v2ray_windows_arm",
|
||||
"//main:v2ray_windows_arm_sig",
|
||||
"//main:v2ray_windows_arm_nowindow",
|
||||
"//main:v2ray_windows_arm_nowindow_sig",
|
||||
"//main:v2ray_windows_arm_armv5",
|
||||
"//main:v2ray_windows_arm_armv5_sig",
|
||||
"//main:v2ray_windows_arm_armv5_nowindow",
|
||||
"//main:v2ray_windows_arm_armv5_nowindow_sig",
|
||||
"//main:v2ray_windows_arm_armv6",
|
||||
"//main:v2ray_windows_arm_armv6_sig",
|
||||
"//main:v2ray_windows_arm_armv6_nowindow",
|
||||
"//main:v2ray_windows_arm_armv6_nowindow_sig",
|
||||
"//main:v2ray_windows_arm_armv7",
|
||||
"//main:v2ray_windows_arm_armv7_sig",
|
||||
"//main:v2ray_windows_arm_armv7_nowindow",
|
||||
"//main:v2ray_windows_arm_armv7_nowindow_sig",
|
||||
],
|
||||
out = "v2ray-windows-arm.zip",
|
||||
mappings = gen_mappings("windows", "arm"),
|
||||
)
|
||||
|
||||
pkg_zip(
|
||||
name = "v2ray_freebsd_amd64_package",
|
||||
srcs = [
|
||||
|
Loading…
Reference in New Issue
Block a user