Skip to content

Commit 726fd14

Browse files
committed
ci: use Go 1.27 for Windows builds
Signed-off-by: Bryan Bednarski <bbednarski@nvidia.com>
1 parent a8bdf56 commit 726fd14

3 files changed

Lines changed: 3 additions & 28 deletions

File tree

.github/ci-tool-versions.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33

4-
NEMO_RELAY_CI_GO_VERSION=1.26.1
4+
NEMO_RELAY_CI_GO_VERSION=1.27.1
55
NEMO_RELAY_CI_DEFAULT_PYTHON_VER=3.11
66
NEMO_RELAY_CI_RUST_VERSION=1.96.1
77
NEMO_RELAY_CI_NODE_VERSION=24

justfile

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1501,15 +1501,8 @@ test-go:
15011501
prepare_test_plugin_fixtures
15021502
15031503
if [[ "$is_windows" == true ]]; then
1504-
compiler_wrapper="$NEMO_RELAY_REPO_ROOT/scripts/go-windows-compiler.sh"
1505-
if command -v cygpath >/dev/null 2>&1; then
1506-
compiler_wrapper="$(cygpath -u "$compiler_wrapper")"
1507-
fi
1508-
# Go versions before 1.27 pass the MinGW-only -mthreads flag even when
1509-
# Clang targets MSVC. Filter that one flag while preserving Clang/lld
1510-
# for the MSVC-built FFI library.
1511-
export CC="bash \"$compiler_wrapper\" clang"
1512-
export CXX="bash \"$compiler_wrapper\" clang++"
1504+
export CC=clang
1505+
export CXX=clang++
15131506
# Go's Windows linker checks -extldflags before deciding whether to
15141507
# inject a GNU linker script; CGO_LDFLAGS is too late for that check.
15151508
go_ldflags+=(-extldflags=-fuse-ld=lld)

scripts/go-windows-compiler.sh

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)