From a543d59d807c8706f3f99ef51feb5494e33b3f30 Mon Sep 17 00:00:00 2001 From: Angelos Veglektsis Date: Mon, 23 Nov 2026 17:04:59 +0200 Subject: [PATCH] ci: Build the Kotlin libraries with Rust 1.91.0 The runner's default toolchain is 1.88.0, and cargo-xwin 0.23.1, which cross builds the Windows libraries of the jvm jar, requires rustc 1.89 or newer, failing build_kotlin on main and on the gl-sdk-v0.5.1 tag. --- gitlab/deploy-maven.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gitlab/deploy-maven.yml b/gitlab/deploy-maven.yml index f97141fa1..9bd85a770 100644 --- a/gitlab/deploy-maven.yml +++ b/gitlab/deploy-maven.yml @@ -5,6 +5,9 @@ build_kotlin: rules: - if: "$CI_COMMIT_TAG" - if: '$CI_COMMIT_BRANCH == "main"' + variables: + # The runner's default toolchain is 1.88.0, cargo-xwin requires rustc 1.89 or newer + RUSTUP_TOOLCHAIN: "1.91.0" before_script: # The desktop libraries bundled in the jvm jar - rustup target add aarch64-apple-darwin x86_64-apple-darwin aarch64-unknown-linux-gnu x86_64-unknown-linux-gnu aarch64-pc-windows-msvc x86_64-pc-windows-msvc