mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-10-23 03:26:59 +09:00
feature: bump go toolchain to 1.27.1 (#3238)
* chore: bump go toolchain to 1.27.1 * chore: move go version back into recipe
This commit is contained in:
1 parent
94b51df247
commit
3e9b70a5f1
10 files changed
+23
-59
No files matched your search
@@ -25,7 +25,7 @@ class AmneziaLibxray(ConanFile):
|
||||
basic_layout(self, build_folder=".")
|
||||
|
||||
def build_requirements(self):
|
||||
self.tool_requires("go/1.26.0")
|
||||
self.tool_requires("go/1.27.1")
|
||||
|
||||
def validate(self):
|
||||
if self.settings.os != "Android":
|
||||
|
||||
@@ -57,7 +57,7 @@ class AmneziaXrayBindings(ConanFile):
|
||||
basic_layout(self)
|
||||
|
||||
def build_requirements(self):
|
||||
self.tool_requires("go/1.26.0")
|
||||
self.tool_requires("go/1.27.1")
|
||||
if self._is_windows:
|
||||
self.win_bash = True
|
||||
if not self.conf.get("tools.microsoft.bash:path", check_type=str):
|
||||
|
||||
@@ -29,7 +29,7 @@ class AwgApple(ConanFile):
|
||||
basic_layout(self, build_folder=os.path.join(self.folders.source, "Sources/WireGuardKitGo"))
|
||||
|
||||
def build_requirements(self):
|
||||
self.tool_requires("go/1.26.0")
|
||||
self.tool_requires("go/1.27.1")
|
||||
|
||||
def validate(self):
|
||||
if not is_apple_os(self):
|
||||
|
||||
@@ -46,7 +46,7 @@ class AwgGo(ConanFile):
|
||||
basic_layout(self, build_folder=".")
|
||||
|
||||
def build_requirements(self):
|
||||
self.tool_requires("go/1.26.0")
|
||||
self.tool_requires("go/1.27.1")
|
||||
|
||||
def validate(self):
|
||||
if not self._goos or not all(arch in self._arch_map for arch in self._archs):
|
||||
|
||||
@@ -56,7 +56,7 @@ class AwgWindows(ConanFile):
|
||||
|
||||
def build_requirements(self):
|
||||
self.tool_requires("mingw-builds/15.1.0")
|
||||
self.tool_requires("go/1.26.0")
|
||||
self.tool_requires("go/1.27.1")
|
||||
|
||||
def requirements(self):
|
||||
self.requires("wintun/[*]")
|
||||
|
||||
+15
-40
@@ -1,51 +1,26 @@
|
||||
sources:
|
||||
"1.23.12":
|
||||
"1.27.1":
|
||||
Macos:
|
||||
x86_64:
|
||||
url: "https://go.dev/dl/go1.23.12.darwin-amd64.tar.gz"
|
||||
sha256: "0f6efdc3ffc6f03b230016acca0aef43c229de022d0ff401e7aa4ad4862eca8e"
|
||||
url: "https://go.dev/dl/go1.27.1.darwin-amd64.tar.gz"
|
||||
sha256: "8f8f52c6649542cf027bbc9b9c68d1ec042f9f34808a40413f0b8b3f66f3caa4"
|
||||
armv8:
|
||||
url: "https://go.dev/dl/go1.23.12.darwin-arm64.tar.gz"
|
||||
sha256: "5bfa117e401ae64e7ffb960243c448b535fe007e682a13ff6c7371f4a6f0ccaa"
|
||||
url: "https://go.dev/dl/go1.27.1.darwin-arm64.tar.gz"
|
||||
sha256: "ee215d57e0ec269c60cc9ceca68e6bda321ba9ee5afe24f4b0988703c2d87d12"
|
||||
Linux:
|
||||
x86:
|
||||
url: "https://go.dev/dl/go1.23.12.linux-386.tar.gz"
|
||||
sha256: "3b2fd446e26642555d1446a38ccbefb2a30bba3179d3ef132ed64d3c63b0c42a"
|
||||
url: "https://go.dev/dl/go1.27.1.linux-386.tar.gz"
|
||||
sha256: "3b72028095439d2bc0ce84e271cc70328a878d879020c5721eaa46df5f72fbc0"
|
||||
x86_64:
|
||||
url: "https://go.dev/dl/go1.23.12.linux-amd64.tar.gz"
|
||||
sha256: "d3847fef834e9db11bf64e3fb34db9c04db14e068eeb064f49af747010454f90"
|
||||
url: "https://go.dev/dl/go1.27.1.linux-amd64.tar.gz"
|
||||
sha256: "63d339f0da5ab53635a56f2490a7984dfe12dfcff22ad749f63edaf590168445"
|
||||
armv8:
|
||||
url: "https://go.dev/dl/go1.23.12.linux-arm64.tar.gz"
|
||||
sha256: "52ce172f96e21da53b1ae9079808560d49b02ac86cecfa457217597f9bc28ab3"
|
||||
url: "https://go.dev/dl/go1.27.1.linux-arm64.tar.gz"
|
||||
sha256: "3450b45a3f9ee8568792736a5c5e70a1f2e9b36c35a8f74958c03e51d7d92bec"
|
||||
Windows:
|
||||
x86:
|
||||
url: "https://go.dev/dl/go1.23.12.windows-386.zip"
|
||||
sha256: "9be6415e04270cdd35761f97bcab6506feb421715dc6453dd1322c8e7bcde67a"
|
||||
url: "https://go.dev/dl/go1.27.1.windows-386.zip"
|
||||
sha256: "1670510496778ee976de09c91b7960f76cb7dbf90968cfea98bb51fa80c9de91"
|
||||
x86_64:
|
||||
url: "https://go.dev/dl/go1.23.12.windows-amd64.zip"
|
||||
sha256: "07c35866cdd864b81bb6f1cfbf25ac7f87ddc3a976ede1bf5112acbb12dfe6dc"
|
||||
"1.26.0":
|
||||
Macos:
|
||||
x86_64:
|
||||
url: "https://go.dev/dl/go1.26.0.darwin-amd64.tar.gz"
|
||||
sha256: "1ca28b7703cbea05a65b2a1d92d6b308610ef92f8824578a0874f2e60c9d5a22"
|
||||
armv8:
|
||||
url: "https://go.dev/dl/go1.26.0.darwin-arm64.tar.gz"
|
||||
sha256: "b1640525dfe68f066d56f200bef7bf4dce955a1a893bd061de6754c211431023"
|
||||
Linux:
|
||||
x86:
|
||||
url: "https://go.dev/dl/go1.26.0.linux-386.tar.gz"
|
||||
sha256: "35e2ec7a7ae6905a1fae5459197b70e3fcbc5e0a786a7d6ba8e49bcd38ad2e26"
|
||||
x86_64:
|
||||
url: "https://go.dev/dl/go1.26.0.linux-amd64.tar.gz"
|
||||
sha256: "aac1b08a0fb0c4e0a7c1555beb7b59180b05dfc5a3d62e40e9de90cd42f88235"
|
||||
armv8:
|
||||
url: "https://go.dev/dl/go1.26.0.linux-arm64.tar.gz"
|
||||
sha256: "bd03b743eb6eb4193ea3c3fd3956546bf0e3ca5b7076c8226334afe6b75704cd"
|
||||
Windows:
|
||||
x86:
|
||||
url: "https://go.dev/dl/go1.26.0.windows-386.zip"
|
||||
sha256: "50674f3d6a071fa1a4c1d76dc37fafa0330df87d84087a262fee020da5396b6b"
|
||||
x86_64:
|
||||
url: "https://go.dev/dl/go1.26.0.windows-amd64.zip"
|
||||
sha256: "9bbe0fc64236b2b51f6255c05c4232532b8ecc0e6d2e00950bd3021d8a4d07d4"
|
||||
url: "https://go.dev/dl/go1.27.1.windows-amd64.zip"
|
||||
sha256: "a3911b5e0e1b1053f25ed0675f4c1c6aad1e2bfcf253df2b9be4caabd2edd95d"
|
||||
@@ -6,9 +6,7 @@ import os
|
||||
|
||||
class Golang(ConanFile):
|
||||
name = "go"
|
||||
# No fixed version: openvpn-pt-android pins go/1.23.x (android/arm futex_time64
|
||||
# regression in go>=1.24, golang/go#77930) — versions are exported explicitly
|
||||
# in recipes_bootstrap.cmake.
|
||||
version = "1.27.1"
|
||||
settings = "os", "arch"
|
||||
|
||||
def layout(self):
|
||||
|
||||
@@ -21,7 +21,7 @@ class OpenvpnPtAndroid(ConanFile):
|
||||
|
||||
def build_requirements(self):
|
||||
self.tool_requires("swig/4.1.1")
|
||||
self.tool_requires("go/1.23.12")
|
||||
self.tool_requires("go/1.27.1")
|
||||
self.tool_requires("cmake/[>=3.4.1 <4]")
|
||||
|
||||
def validate(self):
|
||||
|
||||
@@ -66,7 +66,7 @@ class Tun2Socks(ConanFile):
|
||||
)
|
||||
|
||||
def build_requirements(self):
|
||||
self.tool_requires("go/1.26.0")
|
||||
self.tool_requires("go/1.27.1")
|
||||
if self._is_windows:
|
||||
self.win_bash = True
|
||||
if not self.conf.get("tools.microsoft.bash:path", check_type=str):
|
||||
|
||||
Reference in new issue
Block a user