Skip to content

fix(cua): decode buffered decimal coordinates and browser options #17

fix(cua): decode buffered decimal coordinates and browser options

fix(cua): decode buffered decimal coordinates and browser options #17

Workflow file for this run

# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
name: Computer Use
on:
pull_request:
branches: [main]
paths:
- .github/workflows/computer-use.yml
- Cargo.toml
- Cargo.lock
- platform/computer-use/**
push:
branches: [rust-preview]
paths:
- .github/workflows/computer-use.yml
- Cargo.toml
- Cargo.lock
- platform/computer-use/**
workflow_dispatch:
permissions:
contents: read
concurrency:
group: computer-use-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
check:
runs-on: ${{ matrix.runner }}
timeout-minutes: 45
strategy:
fail-fast: false
matrix:
runner: [ubuntu-24.04, macos-26, windows-2025]
env:
CARGO_BUILD_JOBS: "2"
CARGO_INCREMENTAL: "0"
CARGO_PROFILE_DEV_DEBUG: "0"
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Update Rust
run: rustup update stable --no-self-update
- uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: |
~/.cargo/registry
~/.cargo/git
key: cargo-${{ runner.os }}-${{ hashFiles('Cargo.lock', 'third-party/termina/Cargo.lock') }}
restore-keys: cargo-${{ runner.os }}-
- name: Install Linux build dependencies
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y clang libclang-dev pkg-config libx11-dev libxi-dev libxtst-dev libxext-dev libxrandr-dev libxfixes-dev libxkbcommon-dev libwayland-dev libfontconfig1-dev libfreetype6-dev libssl-dev
- name: Check native computer-use library
run: cargo check --locked -p maka-computer-use --lib --features native-desktop