Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.
Rust agentai-agentapplecomputer-usecomputer-use-agentcontainerizationcuadesktop-automationhacktoberfestlumemacosmanusoperatorswiftvirtualizationvirtualization-frameworkwindowswindows-sandbox
fix(fleets): use llvm-mingw for Windows releases (#6733)
r33drichardscd9c207a2f0c
diff --git a/libs/fleet/terraform-provider-fleets/.github/workflows/release.yml b/libs/fleet/terraform-provider-fleets/.github/workflows/release.ymlindex 5a41e25013..830afa2340 100644--- a/libs/fleet/terraform-provider-fleets/.github/workflows/release.yml+++ b/libs/fleet/terraform-provider-fleets/.github/workflows/release.yml@@ -14,6 +14,9 @@ on:permissions:contents: write+env:+ LLVM_MINGW_VERSION: "20260616"+jobs:prepare:runs-on: ubuntu-latest@@ -61,11 +64,13 @@ jobs:- goos: windowsgoarch: amd64runner: windows-2022- cc: clang+ cc: x86_64-w64-mingw32-clang+ llvm_mingw_host: x86_64- goos: windowsgoarch: arm64runner: windows-11-arm- cc: clang+ cc: aarch64-w64-mingw32-clang+ llvm_mingw_host: aarch64steps:- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5@@ -74,6 +79,21 @@ jobs:- uses: dtolnay/rust-toolchain@2c7215f132e9ebf062739d9130488b56d53c060c # 1.97.0with:toolchain: "1.97.0"+ - name: Install llvm-mingw+ if: matrix.goos == 'windows'+ shell: bash+ env:+ LLVM_MINGW_HOST: ${{ matrix.llvm_mingw_host }}+ run: |+ set -euo pipefail+ archive="llvm-mingw-${LLVM_MINGW_VERSION}-ucrt-${LLVM_MINGW_HOST}.zip"+ curl --fail --location --retry 3 --output "$RUNNER_TEMP/$archive" "https://github.com/mstorsjo/llvm-mingw/releases/download/${LLVM_MINGW_VERSION}/$archive"+ toolchain_root="$RUNNER_TEMP/llvm-mingw"+ mkdir -p "$toolchain_root"+ unzip -q "$RUNNER_TEMP/$archive" -d "$toolchain_root"+ toolchain_bin="$(find "$toolchain_root" -mindepth 2 -maxdepth 2 -type d -name bin -print -quit)"+ test -n "$toolchain_bin"+ echo "$toolchain_bin" >> "$GITHUB_PATH"- name: Build provider archiveshell: bashenv:diff --git a/libs/fleet/terraform-provider-fleets/scripts/test-release-contract.sh b/libs/fleet/terraform-provider-fleets/scripts/test-release-contract.shindex 20a0393c8e..d9a04cb077 100755--- a/libs/fleet/terraform-provider-fleets/scripts/test-release-contract.sh+++ b/libs/fleet/terraform-provider-fleets/scripts/test-release-contract.sh@@ -26,6 +26,10 @@ require 'runner: macos-15-intel' "$workflow"require 'runner: macos-14' "$workflow"require 'runner: windows-2022' "$workflow"require 'runner: windows-11-arm' "$workflow"+require 'LLVM_MINGW_VERSION: "20260616"' "$workflow"+require 'x86_64-w64-mingw32-clang' "$workflow"+require 'aarch64-w64-mingw32-clang' "$workflow"+require 'Install llvm-mingw' "$workflow"require "./scripts/build-release-archive.sh \"\$VERSION\" dist" "$workflow"require "terraform-provider-fleets_\${VERSION}_SHA256SUMS" "$workflow"require 'gpg --batch --armor --detach-sign' "$workflow"