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(cua-driver): install targets for pinned toolchain
Francesco Bonacci25e96a2f976b
diff --git a/.github/scripts/tests/test_cua_driver_release_wiring.py b/.github/scripts/tests/test_cua_driver_release_wiring.pyindex 38fd82117e..959846e5d7 100644--- a/.github/scripts/tests/test_cua_driver_release_wiring.py+++ b/.github/scripts/tests/test_cua_driver_release_wiring.py@@ -231,9 +231,14 @@ class TestCuaDriverReleaseWiring(unittest.TestCase):"format('refs/tags/cua-driver-rs-v{0}', inputs.version) || github.ref")self.assertEqual(workflow.count(immutable_ref), 4)- self.assertIn('rustup target add --toolchain stable "${{ matrix.target }}"', workflow)self.assertIn(- "rustup target add --toolchain stable \\\n"+ "name: Ensure Rust target is installed\n"+ " working-directory: libs/cua-driver/rust",+ workflow,+ )+ self.assertIn('rustup target add "${{ matrix.target }}"', workflow)+ self.assertIn(+ "rustup target add \\\n"" aarch64-apple-darwin x86_64-apple-darwin",workflow,)diff --git a/.github/workflows/cd-rust-cua-driver.yml b/.github/workflows/cd-rust-cua-driver.ymlindex 0df6d4e098..a632ee9b68 100644--- a/.github/workflows/cd-rust-cua-driver.yml+++ b/.github/workflows/cd-rust-cua-driver.yml@@ -180,9 +180,10 @@ jobs:# fail here instead of surfacing a misleading `can't find crate core`# error during the release build.- name: Ensure Rust target is installed+ working-directory: libs/cua-driver/rustshell: bashrun: |- rustup target add --toolchain stable "${{ matrix.target }}"+ rustup target add "${{ matrix.target }}"rustup target list --installed | grep -Fx "${{ matrix.target }}"- uses: actions/cache@v4with:@@ -300,8 +301,9 @@ jobs:with:targets: aarch64-apple-darwin, x86_64-apple-darwin- name: Ensure Rust targets are installed+ working-directory: libs/cua-driver/rustrun: |- rustup target add --toolchain stable \+ rustup target add \aarch64-apple-darwin x86_64-apple-darwinrustup target list --installed | grep -Fx aarch64-apple-darwinrustup target list --installed | grep -Fx x86_64-apple-darwin