Rust: one toolchain, the latest stable #606
579 changed files with 540 additions and 952 deletions
24
.github/workflows/joule-code-conformance.yml
vendored
24
.github/workflows/joule-code-conformance.yml
vendored
|
|
@ -111,13 +111,13 @@ jobs:
|
|||
|
||||
# Bootstrap rustup: the docker runner image ships no Rust, and
|
||||
# dtolnay/rust-toolchain cannot help — it calls `rustup`, which is absent.
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
|
||||
- name: Cache cargo
|
||||
|
|
@ -241,14 +241,14 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
|
||||
- name: joule-moq-relay, every target
|
||||
|
|
@ -312,14 +312,14 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
|
||||
- name: joule-moq-ingest, every target
|
||||
|
|
|
|||
8
.github/workflows/joule-moq-remote.yml
vendored
8
.github/workflows/joule-moq-remote.yml
vendored
|
|
@ -72,14 +72,14 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal --component clippy
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal --component clippy
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
|
||||
# One test at a time: the sessions share the host with other jobs, and each takes a lock.
|
||||
|
|
|
|||
8
.github/workflows/joule-moq-room.yml
vendored
8
.github/workflows/joule-moq-room.yml
vendored
|
|
@ -92,14 +92,14 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
|
||||
- name: joule-moq-room, every target
|
||||
|
|
|
|||
31
.github/workflows/jouleclaw-fabrics.yml
vendored
31
.github/workflows/jouleclaw-fabrics.yml
vendored
|
|
@ -39,7 +39,9 @@ on:
|
|||
jobs:
|
||||
metal:
|
||||
name: metal (macOS, Apple GPU)
|
||||
# Metal is macOS-only, so this is the one runner that can build it.
|
||||
# Metal is macOS-only, so this needs the `macos` label. That label is served
|
||||
# by several hosts, not one, and they are not identically provisioned -- see
|
||||
# the Metal toolchain step below.
|
||||
runs-on: macos
|
||||
timeout-minutes: 60
|
||||
steps:
|
||||
|
|
@ -51,6 +53,33 @@ jobs:
|
|||
- name: metal's error count may fall, never rise
|
||||
shell: bash
|
||||
run: python3 scripts/check-fabric-errors.py metal
|
||||
# Xcode ships the Metal compiler as a separately downloadable component,
|
||||
# and a macOS or Xcode upgrade uninstalls it: `xcodebuild -showComponent
|
||||
# MetalToolchain` then reports `Status: uninstalled` and every `xcrun
|
||||
# metal` fails with "missing Metal Toolchain". The step below would not
|
||||
# merely be skipped -- check-metal-shaders.py reports every shader as not
|
||||
# compiling, which reads as a code failure.
|
||||
#
|
||||
# Several hosts answer the `macos` label, so provisioning them by hand
|
||||
# leaves whichever host was missed failing this job, and which host runs
|
||||
# it is not predictable. Installing it here is idempotent and persists on
|
||||
# the host, so the download happens once per host per Xcode version.
|
||||
- name: Xcode's Metal toolchain component
|
||||
shell: bash
|
||||
run: |
|
||||
set -euo pipefail
|
||||
command -v xcodebuild >/dev/null 2>&1 || {
|
||||
echo "::error::this runner has no full Xcode (xcode-select -p: $(xcode-select -p 2>&1)); the Metal compiler is not in the Command Line Tools"
|
||||
exit 1
|
||||
}
|
||||
export DEVELOPER_DIR="${DEVELOPER_DIR:-$(xcode-select -p)}"
|
||||
if xcrun -sdk macosx metal --version >/dev/null 2>&1; then
|
||||
echo "present on $(hostname -s): $(xcrun -sdk macosx metal --version 2>&1 | head -1)"
|
||||
else
|
||||
echo "absent on $(hostname -s); downloading it once for this Xcode"
|
||||
xcodebuild -downloadComponent MetalToolchain
|
||||
xcrun -sdk macosx metal --version
|
||||
fi
|
||||
# compile_pipeline builds every shader at runtime, so an MSL error is
|
||||
# invisible to cargo. xcrun is the same frontend the runtime uses.
|
||||
- name: every Metal shader source must compile
|
||||
|
|
|
|||
|
|
@ -59,13 +59,13 @@ jobs:
|
|||
|
||||
# Bootstrap rustup: the docker runner image ships no Rust, and
|
||||
# dtolnay/rust-toolchain cannot help — it calls `rustup`, which is absent.
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
|
||||
- name: Cache cargo registry + target
|
||||
|
|
|
|||
8
.github/workflows/repo-checks.yml
vendored
8
.github/workflows/repo-checks.yml
vendored
|
|
@ -36,14 +36,14 @@ jobs:
|
|||
python-version: '3.11'
|
||||
|
||||
# check-lockfiles.sh runs `cargo` against every lockfile.
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
|
||||
# ── Every Cargo.lock is current ──────────────────────────────────────────
|
||||
|
|
|
|||
8
.github/workflows/wai-app.yml
vendored
8
.github/workflows/wai-app.yml
vendored
|
|
@ -93,14 +93,14 @@ jobs:
|
|||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal --component clippy
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal --component clippy
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
- name: Tests and clippy
|
||||
shell: bash
|
||||
|
|
|
|||
8
.github/workflows/wai-audit.yml
vendored
8
.github/workflows/wai-audit.yml
vendored
|
|
@ -70,14 +70,14 @@ jobs:
|
|||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal --component clippy
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal --component clippy
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
- name: Tests and clippy
|
||||
shell: bash
|
||||
|
|
|
|||
16
.github/workflows/wai-breaking.yml
vendored
16
.github/workflows/wai-breaking.yml
vendored
|
|
@ -63,14 +63,14 @@ jobs:
|
|||
- uses: actions/checkout@v5
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
SUDO=""; [ "$(id -u)" -ne 0 ] && SUDO="sudo"
|
||||
command -v python3 >/dev/null || { $SUDO apt-get update -qq; $SUDO apt-get install -y -qq python3; }
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
|
|
@ -103,14 +103,14 @@ jobs:
|
|||
timeout-minutes: 90
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
|
|
|
|||
14
.github/workflows/wai-byte-equality.yml
vendored
14
.github/workflows/wai-byte-equality.yml
vendored
|
|
@ -175,22 +175,22 @@ jobs:
|
|||
# unix: bootstrap rustup (docker image ships no Rust; macOS host has it but
|
||||
# launchd's PATH omits ~/.cargo/bin). Windows is a host executor with rustup
|
||||
# already present, and must use pwsh — its `bash` is the WSL stub.
|
||||
- name: Install Rust 1.98.0 (unix)
|
||||
- name: Install Rust 1.99.1 (unix)
|
||||
if: matrix.os != 'windows'
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
- name: Install Rust 1.98.0 (Windows)
|
||||
- name: Install Rust 1.99.1 (Windows)
|
||||
if: matrix.os == 'windows'
|
||||
shell: pwsh
|
||||
run: |
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
|
||||
- name: Decode fixtures, assert golden bytes
|
||||
working-directory: wai/byte-exact-conformance
|
||||
|
|
|
|||
8
.github/workflows/wai-catalogue.yml
vendored
8
.github/workflows/wai-catalogue.yml
vendored
|
|
@ -96,14 +96,14 @@ jobs:
|
|||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
SUDO=""; [ "$(id -u)" -ne 0 ] && SUDO="sudo"
|
||||
command -v python3 >/dev/null || { $SUDO apt-get update -qq; $SUDO apt-get install -y -qq python3; }
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
|
|
|
|||
84
.github/workflows/wai-conformance.yml
vendored
84
.github/workflows/wai-conformance.yml
vendored
|
|
@ -397,26 +397,26 @@ jobs:
|
|||
# is bootstrapped; the macOS `host` runner has it but launchd's PATH omits
|
||||
# ~/.cargo/bin. dtolnay/rust-toolchain is unusable — it calls a `rustup`
|
||||
# the docker image lacks.
|
||||
- name: Install Rust 1.98.0 (unix)
|
||||
- name: Install Rust 1.99.1 (unix)
|
||||
if: matrix.os != 'windows'
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
rustup component add --toolchain 1.98.0 clippy
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
rustup component add --toolchain 1.99.1 clippy
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
|
||||
# Windows: a host executor with rustup already installed. Only ensure the
|
||||
# pinned toolchain is present + default. pwsh, never bash (that is WSL here).
|
||||
- name: Install Rust 1.98.0 (Windows)
|
||||
- name: Install Rust 1.99.1 (Windows)
|
||||
if: matrix.os == 'windows'
|
||||
shell: pwsh
|
||||
run: |
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
|
||||
- name: Build the cargo classes (pure Rust, no C codec chain)
|
||||
working-directory: wai/wai-rs
|
||||
|
|
@ -594,7 +594,7 @@ jobs:
|
|||
done
|
||||
# The decode bench prints its machine line from bench_env; no other step builds it.
|
||||
cargo build --no-default-features --features neural_int,video_int,audio_int,world_int,splat_int --bin wai_decode_bench
|
||||
rustup target add --toolchain 1.98.0 wasm32-unknown-unknown
|
||||
rustup target add --toolchain 1.99.1 wasm32-unknown-unknown
|
||||
cargo check --lib --target wasm32-unknown-unknown --no-default-features --features video_int,audio_int,splat_int,staged,http
|
||||
# The staged-measurement core is wasm32-clean: a browser computes the same figures.
|
||||
# Built, not only checked, so codegen and linking of the library run for wasm32.
|
||||
|
|
@ -761,7 +761,7 @@ jobs:
|
|||
working-directory: wai/wai-rs
|
||||
run: |
|
||||
set -euo pipefail
|
||||
rustup target add --toolchain 1.98.0 wasm32-unknown-unknown
|
||||
rustup target add --toolchain 1.99.1 wasm32-unknown-unknown
|
||||
cargo check --lib --target wasm32-unknown-unknown --no-default-features --features key_discovery,http
|
||||
|
||||
# The corpus-verify loop is genuinely shell-specific (a helper that groups
|
||||
|
|
@ -947,15 +947,15 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
|
||||
- name: Install Rust 1.98.0 with the wasm32-wasip2 target
|
||||
- name: Install Rust 1.99.1 with the wasm32-wasip2 target
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
rustup target add --toolchain 1.98.0 wasm32-wasip2
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
rustup target add --toolchain 1.99.1 wasm32-wasip2
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
|
||||
# The release binary, pinned by version and SHA-256, rather than a build from source.
|
||||
|
|
@ -1091,15 +1091,15 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
|
||||
- name: Install Rust 1.98.0 with the wasm32-wasip2 target
|
||||
- name: Install Rust 1.99.1 with the wasm32-wasip2 target
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
rustup target add --toolchain 1.98.0 wasm32-wasip2
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
rustup target add --toolchain 1.99.1 wasm32-wasip2
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
|
||||
# The release binary, pinned by version and SHA-256, rather than a build from source.
|
||||
|
|
@ -1188,14 +1188,14 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
|
||||
- uses: actions/setup-python@v5
|
||||
|
|
@ -2763,14 +2763,14 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
|
||||
- name: wai-rs, each feature list alone
|
||||
|
|
@ -2841,22 +2841,22 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
|
||||
- name: Install Rust 1.98.0 (unix)
|
||||
- name: Install Rust 1.99.1 (unix)
|
||||
if: matrix.os != 'windows'
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
- name: Install Rust 1.98.0 (Windows)
|
||||
- name: Install Rust 1.99.1 (Windows)
|
||||
if: matrix.os == 'windows'
|
||||
shell: pwsh
|
||||
run: |
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
|
||||
- name: Integer rANS + int_synth + JPEG-AI mANS goldens (one machine → every machine)
|
||||
working-directory: wai/byte-exact-conformance
|
||||
|
|
@ -2878,12 +2878,12 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
|
||||
# Every one of these test files is `#![cfg(feature = "codecs")]`: built without
|
||||
|
|
@ -2976,14 +2976,14 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
|
||||
# `rust_native_crypto` rather than the SDK's default openssl backend, so this
|
||||
|
|
|
|||
8
.github/workflows/wai-energy-receipts.yml
vendored
8
.github/workflows/wai-energy-receipts.yml
vendored
|
|
@ -145,14 +145,14 @@ jobs:
|
|||
# The docker runners (linux / linux-arm64) ship no Rust, so rustup is
|
||||
# bootstrapped; the macOS host runner has it but launchd's PATH omits
|
||||
# ~/.cargo/bin.
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
|
||||
# One feature set that compiles the wai-rs receipts that carry an
|
||||
|
|
|
|||
30
.github/workflows/wai-examples.yml
vendored
30
.github/workflows/wai-examples.yml
vendored
|
|
@ -73,14 +73,14 @@ jobs:
|
|||
timeout-minutes: 90
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
SUDO=""; [ "$(id -u)" -ne 0 ] && SUDO="sudo"
|
||||
command -v python3 >/dev/null && command -v curl >/dev/null || { $SUDO apt-get update -qq; $SUDO apt-get install -y -qq python3 curl; }
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
|
|
@ -147,6 +147,20 @@ jobs:
|
|||
set -euo pipefail
|
||||
test -x "$BROWSER_BIN" || { echo "::error::this runner has no browser at $BROWSER_BIN"; exit 1; }
|
||||
nice -n 10 bash wai/quickstart/test/run-examples.sh browser
|
||||
# The apple example builds WaiFFI.xcframework, which cross-compiles each
|
||||
# slice (wai-sink-swift/scripts/build-xcframework.sh names the set in its
|
||||
# header). A target's std belongs to one toolchain, so the pin moving to
|
||||
# 1.99.1 left this job with none of them, and the macos slice failed at
|
||||
# x86_64-apple-darwin with E0463 "can't find crate for `core`". The step
|
||||
# had been passing on targets a previous toolchain happened to have
|
||||
# installed on the runner; naming them here is what makes it reproducible
|
||||
# on a host that has never built this. The tvos slices' nightly is a
|
||||
# separate toolchain and keeps its own targets, so it is not re-added.
|
||||
- name: The targets the apple slices need
|
||||
shell: bash
|
||||
run: |
|
||||
set -euo pipefail
|
||||
rustup target add aarch64-apple-darwin x86_64-apple-darwin aarch64-apple-ios aarch64-apple-ios-sim x86_64-apple-ios
|
||||
- name: apple-app
|
||||
shell: bash
|
||||
run: nice -n 10 bash wai/quickstart/test/run-examples.sh apple
|
||||
|
|
@ -159,14 +173,14 @@ jobs:
|
|||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
- name: JDK 17
|
||||
shell: bash
|
||||
|
|
|
|||
8
.github/workflows/wai-fleet.yml
vendored
8
.github/workflows/wai-fleet.yml
vendored
|
|
@ -69,14 +69,14 @@ jobs:
|
|||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal --component clippy
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal --component clippy
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
- name: Tests and clippy
|
||||
shell: bash
|
||||
|
|
|
|||
|
|
@ -191,7 +191,7 @@ jobs:
|
|||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
if ! command -v rustup >/dev/null; then
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs \
|
||||
| sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
| sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
fi
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
|
||||
|
|
|
|||
24
.github/workflows/wai-http.yml
vendored
24
.github/workflows/wai-http.yml
vendored
|
|
@ -156,15 +156,15 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
if: startsWith(matrix.shard, 'patches')
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
|
||||
- uses: actions/setup-python@v5
|
||||
|
|
@ -212,14 +212,14 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
|
||||
- uses: actions/setup-python@v5
|
||||
|
|
@ -250,14 +250,14 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
|
||||
- uses: actions/setup-python@v5
|
||||
|
|
|
|||
8
.github/workflows/wai-jpegai-e2e.yml
vendored
8
.github/workflows/wai-jpegai-e2e.yml
vendored
|
|
@ -172,14 +172,14 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
# Bootstrap rustup: the docker runner image ships no Rust.
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
- name: Fetch the JPEG-AI inputs and check each against the pinned manifest
|
||||
shell: bash
|
||||
|
|
|
|||
8
.github/workflows/wai-key-proxy.yml
vendored
8
.github/workflows/wai-key-proxy.yml
vendored
|
|
@ -58,14 +58,14 @@ jobs:
|
|||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal --component clippy
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal --component clippy
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
- name: Tests and clippy
|
||||
shell: bash
|
||||
|
|
|
|||
8
.github/workflows/wai-ledger.yml
vendored
8
.github/workflows/wai-ledger.yml
vendored
|
|
@ -62,14 +62,14 @@ jobs:
|
|||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal --component clippy
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal --component clippy
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
- name: Tests and clippy
|
||||
shell: bash
|
||||
|
|
|
|||
8
.github/workflows/wai-neural-e2e.yml
vendored
8
.github/workflows/wai-neural-e2e.yml
vendored
|
|
@ -102,13 +102,13 @@ jobs:
|
|||
working-directory: wai
|
||||
run: python tools/wai_validate_synthetic.py --size 256
|
||||
# Bootstrap rustup: the docker runner image ships no Rust.
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
- name: Each Rust decoder reproduces its reference end-to-end
|
||||
working-directory: wai/wai-rs
|
||||
|
|
|
|||
8
.github/workflows/wai-neural-gates.yml
vendored
8
.github/workflows/wai-neural-gates.yml
vendored
|
|
@ -130,13 +130,13 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
# Bootstrap rustup: the docker runner image ships no Rust.
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
- name: Prior-hash refusal, the strict replicate gate, and the int_mlicpp dispatch
|
||||
working-directory: wai/wai-rs
|
||||
|
|
|
|||
8
.github/workflows/wai-ops-differential.yml
vendored
8
.github/workflows/wai-ops-differential.yml
vendored
|
|
@ -49,14 +49,14 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
|
||||
# The docker image ships no Rust.
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
|
||||
- name: Through the operator set against the direct decode, random sets and payloads
|
||||
|
|
|
|||
10
.github/workflows/wai-ops-gpu.yml
vendored
10
.github/workflows/wai-ops-gpu.yml
vendored
|
|
@ -114,15 +114,15 @@ jobs:
|
|||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0 with the wasm32-unknown-unknown target
|
||||
- name: Install Rust 1.99.1 with the wasm32-unknown-unknown target
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
rustup target add --toolchain 1.98.0 wasm32-unknown-unknown
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
rustup target add --toolchain 1.99.1 wasm32-unknown-unknown
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
# This container offers no adapter. The device tests must say so and pass; under
|
||||
# WAI_OPS_GPU_REQUIRE=1 the same tests must fail. Were an adapter ever offered
|
||||
|
|
|
|||
8
.github/workflows/wai-ops-npu.yml
vendored
8
.github/workflows/wai-ops-npu.yml
vendored
|
|
@ -145,14 +145,14 @@ jobs:
|
|||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
# This host has no such device. The device tests must say so and pass; under
|
||||
# WAI_OPS_NPU_REQUIRE=1 the same tests must fail.
|
||||
|
|
|
|||
24
.github/workflows/wai-ops.yml
vendored
24
.github/workflows/wai-ops.yml
vendored
|
|
@ -116,14 +116,14 @@ jobs:
|
|||
|
||||
# The docker images ship no Rust; the macOS host has it, but launchd's PATH omits
|
||||
# ~/.cargo/bin.
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
|
||||
- name: Unit, goldens, step-8, verdict and doc tests, debug
|
||||
|
|
@ -196,14 +196,14 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Install Rust 1.98.0 with the wasm32-wasip2 target
|
||||
- name: Install Rust 1.99.1 with the wasm32-wasip2 target
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
rustup target add wasm32-wasip2
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
|
||||
|
|
@ -250,14 +250,14 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Install Rust 1.98.0 with the wasm32 target
|
||||
- name: Install Rust 1.99.1 with the wasm32 target
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
rustup target add wasm32-unknown-unknown
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
|
||||
|
|
|
|||
26
.github/workflows/wai-pack.yml
vendored
26
.github/workflows/wai-pack.yml
vendored
|
|
@ -101,15 +101,15 @@ jobs:
|
|||
|
||||
# The docker runners ship no Rust, so rustup is bootstrapped; the macOS host has
|
||||
# it, but launchd's PATH omits ~/.cargo/bin.
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
rustup component add --toolchain 1.98.0 clippy
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
rustup component add --toolchain 1.99.1 clippy
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
|
||||
# clippy::float_arithmetic is denied for the library and the CLI (Cargo.toml and
|
||||
|
|
@ -240,14 +240,14 @@ jobs:
|
|||
working-directory: wai
|
||||
shell: bash
|
||||
run: python3 pack-conformance/pack_verify.py --jobs 2 pack-conformance
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
# The source readers differentially: seeded Y4M and WAV mutations, every verdict of
|
||||
# wai-pack (debug and release, both with overflow checks) equal to pack_verify.py's,
|
||||
|
|
@ -371,14 +371,14 @@ jobs:
|
|||
runs-on: linux-arm64
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
- name: Install cargo-deny
|
||||
shell: bash
|
||||
|
|
|
|||
|
|
@ -100,14 +100,14 @@ jobs:
|
|||
triple: aarch64-unknown-linux-musl
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0, the musl target and musl-gcc
|
||||
- name: Install Rust 1.99.1, the musl target and musl-gcc
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
rustup target add "${{ matrix.triple }}"
|
||||
SUDO=""; [ "$(id -u)" -ne 0 ] && SUDO="sudo"
|
||||
$SUDO apt-get update -qq
|
||||
|
|
|
|||
10
.github/workflows/wai-quantum-cli.yml
vendored
10
.github/workflows/wai-quantum-cli.yml
vendored
|
|
@ -60,15 +60,15 @@ jobs:
|
|||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0 with clippy and the wasm32-wasip2 target
|
||||
- name: Install Rust 1.99.1 with clippy and the wasm32-wasip2 target
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal --component clippy
|
||||
rustup default 1.98.0
|
||||
rustup target add --toolchain 1.98.0 wasm32-wasip2
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal --component clippy
|
||||
rustup default 1.99.1
|
||||
rustup target add --toolchain 1.99.1 wasm32-wasip2
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
- name: Tests and clippy, with and without submit
|
||||
shell: bash
|
||||
|
|
|
|||
16
.github/workflows/wai-quantum-contract.yml
vendored
16
.github/workflows/wai-quantum-contract.yml
vendored
|
|
@ -114,14 +114,14 @@ jobs:
|
|||
SEMVER_CHECKS: "0.51.0"
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
- name: Install cargo-semver-checks ${{ env.SEMVER_CHECKS }}
|
||||
shell: bash
|
||||
|
|
@ -185,14 +185,14 @@ jobs:
|
|||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0, and uv
|
||||
- name: Install Rust 1.99.1, and uv
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.local/bin:$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
command -v uv >/dev/null 2>&1 || curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
|
|
|
|||
8
.github/workflows/wai-quantum-cuda.yml
vendored
8
.github/workflows/wai-quantum-cuda.yml
vendored
|
|
@ -231,14 +231,14 @@ jobs:
|
|||
WAI_QUANTUM_CUDA_EXPECT: none
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
- name: No CUDA here, and the member says so
|
||||
shell: bash
|
||||
|
|
|
|||
|
|
@ -202,14 +202,14 @@ jobs:
|
|||
SECRET_UPDATER_KEY_PASSWORD: ${{ secrets.WAI_QUANTUM_DESKTOP_UPDATER_KEY_PASSWORD }}
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0 and the web view's libraries
|
||||
- name: Install Rust 1.99.1 and the web view's libraries
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
SUDO=""; [ "$(id -u)" -ne 0 ] && SUDO="sudo"
|
||||
$SUDO apt-get update -qq
|
||||
$SUDO apt-get install -y -qq libwebkit2gtk-4.1-dev libxdo-dev libayatana-appindicator3-dev librsvg2-dev file xdg-utils
|
||||
|
|
|
|||
16
.github/workflows/wai-quantum-docs.yml
vendored
16
.github/workflows/wai-quantum-docs.yml
vendored
|
|
@ -82,14 +82,14 @@ jobs:
|
|||
timeout-minutes: 180
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0, and uv
|
||||
- name: Install Rust 1.99.1, and uv
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.local/bin:$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
command -v uv >/dev/null 2>&1 || curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
|
|
@ -108,14 +108,14 @@ jobs:
|
|||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
# A module filter is satisfied by any one test of the module, so each test is
|
||||
# required by name to have run.
|
||||
|
|
|
|||
10
.github/workflows/wai-quantum-editors.yml
vendored
10
.github/workflows/wai-quantum-editors.yml
vendored
|
|
@ -82,15 +82,15 @@ jobs:
|
|||
image: catthehacker/ubuntu:act-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0 with the wasm32-wasip2 target
|
||||
- name: Install Rust 1.99.1 with the wasm32-wasip2 target
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
rustup target add --toolchain 1.98.0 wasm32-wasip2
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
rustup target add --toolchain 1.99.1 wasm32-wasip2
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
|
|
|
|||
8
.github/workflows/wai-quantum-estimate.yml
vendored
8
.github/workflows/wai-quantum-estimate.yml
vendored
|
|
@ -60,14 +60,14 @@ jobs:
|
|||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
# A module filter is satisfied by any one test of the module, so each
|
||||
# module's tests are required by name to have run.
|
||||
|
|
|
|||
18
.github/workflows/wai-quantum-formats.yml
vendored
18
.github/workflows/wai-quantum-formats.yml
vendored
|
|
@ -63,14 +63,14 @@ jobs:
|
|||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
# A module filter is satisfied by any one test of the module, so each
|
||||
# module's tests are required by name to have run.
|
||||
|
|
@ -118,15 +118,15 @@ jobs:
|
|||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0 with the wasm32-wasip2 target
|
||||
- name: Install Rust 1.99.1 with the wasm32-wasip2 target
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
rustup target add --toolchain 1.98.0 wasm32-wasip2
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
rustup target add --toolchain 1.99.1 wasm32-wasip2
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
# The release binary, pinned by version and SHA-256, rather than a build from source.
|
||||
- name: Install wasmtime 49.0.2
|
||||
|
|
|
|||
8
.github/workflows/wai-quantum-fpga.yml
vendored
8
.github/workflows/wai-quantum-fpga.yml
vendored
|
|
@ -111,14 +111,14 @@ jobs:
|
|||
WAI_QUANTUM_FPGA_EXPECT: none
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
- name: No simulator here, and the member says so
|
||||
shell: bash
|
||||
|
|
|
|||
8
.github/workflows/wai-quantum-hip.yml
vendored
8
.github/workflows/wai-quantum-hip.yml
vendored
|
|
@ -190,14 +190,14 @@ jobs:
|
|||
WAI_QUANTUM_HIP_EXPECT: none
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
- name: No HIP here, and the member says so
|
||||
shell: bash
|
||||
|
|
|
|||
8
.github/workflows/wai-quantum-js-release.yml
vendored
8
.github/workflows/wai-quantum-js-release.yml
vendored
|
|
@ -51,14 +51,14 @@ jobs:
|
|||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0 with the wasm32 target
|
||||
- name: Install Rust 1.99.1 with the wasm32 target
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
rustup target add wasm32-unknown-unknown
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
- name: wasm-bindgen CLI 0.2.127
|
||||
|
|
|
|||
8
.github/workflows/wai-quantum-js.yml
vendored
8
.github/workflows/wai-quantum-js.yml
vendored
|
|
@ -59,14 +59,14 @@ jobs:
|
|||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0 with the wasm32 target
|
||||
- name: Install Rust 1.99.1 with the wasm32 target
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
rustup target add wasm32-unknown-unknown
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
# Pinned to the wasm-bindgen version in wai-web/Cargo.lock; build.sh refuses another.
|
||||
|
|
|
|||
18
.github/workflows/wai-quantum-lang.yml
vendored
18
.github/workflows/wai-quantum-lang.yml
vendored
|
|
@ -61,14 +61,14 @@ jobs:
|
|||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
# A module filter is satisfied by any one test of the module, so each
|
||||
# module's tests are required by name to have run.
|
||||
|
|
@ -105,15 +105,15 @@ jobs:
|
|||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0 with the wasm32-wasip2 target
|
||||
- name: Install Rust 1.99.1 with the wasm32-wasip2 target
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
rustup target add --toolchain 1.98.0 wasm32-wasip2
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
rustup target add --toolchain 1.99.1 wasm32-wasip2
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
# The release binary, pinned by version and SHA-256, rather than a build from source.
|
||||
- name: Install wasmtime 49.0.2
|
||||
|
|
|
|||
8
.github/workflows/wai-quantum-metal.yml
vendored
8
.github/workflows/wai-quantum-metal.yml
vendored
|
|
@ -131,14 +131,14 @@ jobs:
|
|||
WAI_QUANTUM_METAL_EXPECT: none
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
- name: No Metal here, and the member says so
|
||||
shell: bash
|
||||
|
|
|
|||
8
.github/workflows/wai-quantum-npu-cores.yml
vendored
8
.github/workflows/wai-quantum-npu-cores.yml
vendored
|
|
@ -134,14 +134,14 @@ jobs:
|
|||
WAI_QUANTUM_NPU_CORES_EXPECT: none
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
- name: No neural processor here, and the member says so
|
||||
shell: bash
|
||||
|
|
|
|||
8
.github/workflows/wai-quantum-npu.yml
vendored
8
.github/workflows/wai-quantum-npu.yml
vendored
|
|
@ -99,14 +99,14 @@ jobs:
|
|||
WAI_QUANTUM_NPU_EXPECT: none
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
- name: No neural processor here, and the member says so
|
||||
shell: bash
|
||||
|
|
|
|||
8
.github/workflows/wai-quantum-opencl.yml
vendored
8
.github/workflows/wai-quantum-opencl.yml
vendored
|
|
@ -287,14 +287,14 @@ jobs:
|
|||
WAI_QUANTUM_OPENCL_EXPECT: none
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
- name: No OpenCL here, and the member says so
|
||||
shell: bash
|
||||
|
|
|
|||
26
.github/workflows/wai-quantum-pulse.yml
vendored
26
.github/workflows/wai-quantum-pulse.yml
vendored
|
|
@ -57,14 +57,14 @@ jobs:
|
|||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
# A module filter is satisfied by any one test of the module, so the
|
||||
# count is pinned and each test is required by name to have run and passed.
|
||||
|
|
@ -131,14 +131,14 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
# launchd's PATH omits cargo on the macOS host runner.
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
- name: The pinned digests, in a debug build and a release build
|
||||
shell: bash
|
||||
|
|
@ -161,15 +161,15 @@ jobs:
|
|||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0 with the wasm32-wasip2 target
|
||||
- name: Install Rust 1.99.1 with the wasm32-wasip2 target
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
rustup target add --toolchain 1.98.0 wasm32-wasip2
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
rustup target add --toolchain 1.99.1 wasm32-wasip2
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
# The release binary, pinned by version and SHA-256, rather than a build from source.
|
||||
- name: Install wasmtime 49.0.2
|
||||
|
|
|
|||
8
.github/workflows/wai-quantum-py-release.yml
vendored
8
.github/workflows/wai-quantum-py-release.yml
vendored
|
|
@ -113,14 +113,14 @@ jobs:
|
|||
triple: aarch64-unknown-linux-gnu
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0 and uv
|
||||
- name: Install Rust 1.99.1 and uv
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.local/bin:$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
rustup target add "${{ matrix.triple }}"
|
||||
command -v uv >/dev/null 2>&1 || curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
|
||||
|
|
|
|||
8
.github/workflows/wai-quantum-py.yml
vendored
8
.github/workflows/wai-quantum-py.yml
vendored
|
|
@ -60,14 +60,14 @@ jobs:
|
|||
timeout-minutes: 90
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0 with clippy, and uv
|
||||
- name: Install Rust 1.99.1 with clippy, and uv
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.local/bin:$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal --component clippy
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal --component clippy
|
||||
rustup default 1.99.1
|
||||
command -v uv >/dev/null 2>&1 || curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
command -v node >/dev/null 2>&1 || { echo "::error::no node on this runner: the widgets' front ends are tested with it"; exit 1; }
|
||||
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
|
||||
|
|
|
|||
8
.github/workflows/wai-quantum-qec.yml
vendored
8
.github/workflows/wai-quantum-qec.yml
vendored
|
|
@ -63,14 +63,14 @@ jobs:
|
|||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
# A module filter is satisfied by any one test of the module, so each
|
||||
# new test is required by name to have run and passed.
|
||||
|
|
|
|||
8
.github/workflows/wai-quantum-qpu.yml
vendored
8
.github/workflows/wai-quantum-qpu.yml
vendored
|
|
@ -60,14 +60,14 @@ jobs:
|
|||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal --component clippy
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal --component clippy
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
- name: Tests
|
||||
shell: bash
|
||||
|
|
|
|||
18
.github/workflows/wai-quantum-registry.yml
vendored
18
.github/workflows/wai-quantum-registry.yml
vendored
|
|
@ -62,14 +62,14 @@ jobs:
|
|||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
# A module filter is satisfied by any one test of the module, so each
|
||||
# test is required by name to have run.
|
||||
|
|
@ -129,15 +129,15 @@ jobs:
|
|||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0 with the wasm32-wasip2 target
|
||||
- name: Install Rust 1.99.1 with the wasm32-wasip2 target
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
rustup target add --toolchain 1.98.0 wasm32-wasip2
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
rustup target add --toolchain 1.99.1 wasm32-wasip2
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
# The release binary, pinned by version and SHA-256, rather than a build from source.
|
||||
- name: Install wasmtime 49.0.2
|
||||
|
|
|
|||
8
.github/workflows/wai-quantum-service.yml
vendored
8
.github/workflows/wai-quantum-service.yml
vendored
|
|
@ -61,14 +61,14 @@ jobs:
|
|||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal --component clippy
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal --component clippy
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
- name: Tests and clippy
|
||||
shell: bash
|
||||
|
|
|
|||
16
.github/workflows/wai-quantum-studio.yml
vendored
16
.github/workflows/wai-quantum-studio.yml
vendored
|
|
@ -98,14 +98,14 @@ jobs:
|
|||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0 with the wasm32 target
|
||||
- name: Install Rust 1.99.1 with the wasm32 target
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
rustup target add wasm32-unknown-unknown
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
# Pinned to the wasm-bindgen version in wai-web/Cargo.lock.
|
||||
|
|
@ -194,14 +194,14 @@ jobs:
|
|||
timeout-minutes: 90
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0 and the web view's libraries
|
||||
- name: Install Rust 1.99.1 and the web view's libraries
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal --component clippy
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal --component clippy
|
||||
rustup default 1.99.1
|
||||
SUDO=""; [ "$(id -u)" -ne 0 ] && SUDO="sudo"
|
||||
$SUDO apt-get update -qq
|
||||
$SUDO apt-get install -y -qq libwebkit2gtk-4.1-dev libxdo-dev libayatana-appindicator3-dev librsvg2-dev
|
||||
|
|
|
|||
|
|
@ -132,14 +132,14 @@ jobs:
|
|||
WAI_QUANTUM_TENSOR_ENGINE_EXPECT: none
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
- name: No kernel toolchain here, and the member says so
|
||||
shell: bash
|
||||
|
|
|
|||
|
|
@ -72,14 +72,14 @@ jobs:
|
|||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
# A module filter is satisfied by any one test of the module, so each
|
||||
# new test is required by name to have run and passed.
|
||||
|
|
|
|||
18
.github/workflows/wai-quantum-verdict.yml
vendored
18
.github/workflows/wai-quantum-verdict.yml
vendored
|
|
@ -67,14 +67,14 @@ jobs:
|
|||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
# A module filter is satisfied by any one test of the module, so each
|
||||
# module's tests are required by name to have run.
|
||||
|
|
@ -124,15 +124,15 @@ jobs:
|
|||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0 with the wasm32-wasip2 target
|
||||
- name: Install Rust 1.99.1 with the wasm32-wasip2 target
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
rustup target add --toolchain 1.98.0 wasm32-wasip2
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
rustup target add --toolchain 1.99.1 wasm32-wasip2
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
# The release binary, pinned by version and SHA-256, rather than a build from source.
|
||||
- name: Install wasmtime 49.0.2
|
||||
|
|
|
|||
16
.github/workflows/wai-quantum-views.yml
vendored
16
.github/workflows/wai-quantum-views.yml
vendored
|
|
@ -75,14 +75,14 @@ jobs:
|
|||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0 with the wasm32 target
|
||||
- name: Install Rust 1.99.1 with the wasm32 target
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
rustup target add wasm32-unknown-unknown
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
- uses: actions/setup-node@v4
|
||||
|
|
@ -129,14 +129,14 @@ jobs:
|
|||
timeout-minutes: 75
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
|
|
|
|||
24
.github/workflows/wai-quantum-webgpu.yml
vendored
24
.github/workflows/wai-quantum-webgpu.yml
vendored
|
|
@ -92,21 +92,20 @@ jobs:
|
|||
checks:
|
||||
needs: relevant
|
||||
if: needs.relevant.outputs.run == 'true'
|
||||
name: shader checks · browser build · wasip2 inertness · MSRV
|
||||
name: shader checks · browser build · wasip2 inertness
|
||||
runs-on: linux
|
||||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0 (wasm32 targets) and 1.97.0
|
||||
- name: Install Rust 1.99.1 (wasm32 targets)
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup toolchain install 1.97.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
rustup target add --toolchain 1.98.0 wasm32-unknown-unknown wasm32-wasip2
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
rustup target add --toolchain 1.99.1 wasm32-unknown-unknown wasm32-wasip2
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
- name: SPIR-V validator
|
||||
shell: bash
|
||||
|
|
@ -150,9 +149,6 @@ jobs:
|
|||
cargo package --locked --list --allow-dirty > "$RUNNER_TEMP/package.txt"
|
||||
grep -qx 'src/quantum_fabric/lanes32.wgsl' "$RUNNER_TEMP/package.txt"
|
||||
grep -qx 'src/quantum_fabric/lanes32_tile.wgsl' "$RUNNER_TEMP/package.txt"
|
||||
- name: MSRV 1.97.0
|
||||
working-directory: wai/wai-quantum
|
||||
run: cargo +1.97.0 check --locked --lib --features quantum_fabric_webgpu
|
||||
# The member's unit tests need no GPU (a failed native wait is fed to the
|
||||
# guard as a panicking closure), and only the feature build compiles them.
|
||||
- name: The member's unit tests, without a device
|
||||
|
|
@ -176,14 +172,14 @@ jobs:
|
|||
WAI_QUANTUM_WEBGPU_EXPECT: swgpu-vulkan-10005
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
- name: The Vulkan loader and a software Vulkan driver
|
||||
shell: bash
|
||||
|
|
|
|||
8
.github/workflows/wai-release.yml
vendored
8
.github/workflows/wai-release.yml
vendored
|
|
@ -131,14 +131,14 @@ jobs:
|
|||
triple: aarch64-unknown-linux-musl
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0, the musl target and musl-gcc
|
||||
- name: Install Rust 1.99.1, the musl target and musl-gcc
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
rustup target add "${{ matrix.triple }}"
|
||||
SUDO=""; [ "$(id -u)" -ne 0 ] && SUDO="sudo"
|
||||
$SUDO apt-get update -qq
|
||||
|
|
|
|||
8
.github/workflows/wai-sink-android.yml
vendored
8
.github/workflows/wai-sink-android.yml
vendored
|
|
@ -74,14 +74,14 @@ jobs:
|
|||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
# A JDK 17, from the image's packages when the image has none.
|
||||
- name: JDK 17
|
||||
|
|
|
|||
8
.github/workflows/wai-sota-vectors.yml
vendored
8
.github/workflows/wai-sota-vectors.yml
vendored
|
|
@ -224,14 +224,14 @@ jobs:
|
|||
torchvision.ops.nms(torch.zeros(1, 4), torch.zeros(1), 0.5)
|
||||
PY
|
||||
# Bootstrap rustup: the docker runner image ships no Rust.
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
- name: Regenerate the int_hyper vectors (source photo → integer export → keyframe → clip)
|
||||
shell: bash
|
||||
|
|
|
|||
12
.github/workflows/wai-studio.yml
vendored
12
.github/workflows/wai-studio.yml
vendored
|
|
@ -95,14 +95,14 @@ jobs:
|
|||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal --component clippy
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal --component clippy
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
|
|
@ -173,13 +173,13 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
# The floor's zstd is C, compiled for wasm32 by clang and archived by llvm-ar.
|
||||
- name: Rust 1.98.0 with the wasm32 target, clang and llvm, wasm-bindgen CLI 0.2.127
|
||||
- name: Rust 1.99.1 with the wasm32 target, clang and llvm, wasm-bindgen CLI 0.2.127
|
||||
shell: bash
|
||||
run: |
|
||||
set -euo pipefail
|
||||
apt-get update -qq
|
||||
apt-get install -y -qq --no-install-recommends curl ca-certificates build-essential pkg-config clang llvm python3 git > /dev/null
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
"$HOME/.cargo/bin/rustup" target add wasm32-unknown-unknown
|
||||
"$HOME/.cargo/bin/cargo" install --locked wasm-bindgen-cli --version 0.2.127
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
|
|
|
|||
40
.github/workflows/wai-vector.yml
vendored
40
.github/workflows/wai-vector.yml
vendored
|
|
@ -124,14 +124,14 @@ jobs:
|
|||
|
||||
# The docker images ship no Rust; the macOS host has it, but launchd's PATH omits
|
||||
# ~/.cargo/bin.
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
|
||||
# Debug builds check every arithmetic operation for overflow, so a bound the
|
||||
|
|
@ -167,14 +167,14 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Install Rust 1.98.0 with the wasm32-wasip2 target
|
||||
- name: Install Rust 1.99.1 with the wasm32-wasip2 target
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
rustup target add wasm32-wasip2
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
|
||||
|
|
@ -221,14 +221,14 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Install Rust 1.98.0 with the wasm32 target
|
||||
- name: Install Rust 1.99.1 with the wasm32 target
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
rustup target add wasm32-unknown-unknown
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
|
||||
|
|
@ -267,14 +267,14 @@ jobs:
|
|||
# The image ships no Rust. wasm32v1-none is the package's target: its
|
||||
# precompiled core and alloc are WebAssembly 1.0, which those of
|
||||
# wasm32-unknown-unknown are not (wasm/build-pkg.sh says why that decides it).
|
||||
- name: Install Rust 1.98.0 with the wasm32v1-none and wasm32-unknown-unknown targets
|
||||
- name: Install Rust 1.99.1 with the wasm32v1-none and wasm32-unknown-unknown targets
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
rustup target add wasm32v1-none wasm32-unknown-unknown
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
|
||||
|
|
@ -338,14 +338,14 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Install Rust 1.98.0
|
||||
- name: Install Rust 1.99.1
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
|
||||
# Every corpus vector and every file under fuzz/seeds/ as a seed, 2,000
|
||||
|
|
|
|||
10
.github/workflows/wai-web-reach.yml
vendored
10
.github/workflows/wai-web-reach.yml
vendored
|
|
@ -114,16 +114,16 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
# The docker runner image ships no Rust.
|
||||
- name: Install Rust 1.98.0 with the wasm32 target
|
||||
- name: Install Rust 1.99.1 with the wasm32 target
|
||||
if: matrix.leg == 'tree'
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
rustup target add wasm32-unknown-unknown --toolchain 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
rustup target add wasm32-unknown-unknown --toolchain 1.99.1
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
# Pinned to the wasm-bindgen version in wai-web/Cargo.lock: the CLI and the crate
|
||||
# must match exactly.
|
||||
|
|
|
|||
8
.github/workflows/wai-web-wasm.yml
vendored
8
.github/workflows/wai-web-wasm.yml
vendored
|
|
@ -109,14 +109,14 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
# The docker runner image ships no Rust.
|
||||
- name: Install Rust 1.98.0 with the wasm32 target
|
||||
- name: Install Rust 1.99.1 with the wasm32 target
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
command -v rustup >/dev/null 2>&1 || \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
||||
rustup toolchain install 1.98.0 --profile minimal
|
||||
rustup default 1.98.0
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.99.1
|
||||
rustup toolchain install 1.99.1 --profile minimal
|
||||
rustup default 1.99.1
|
||||
rustup target add wasm32-unknown-unknown
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
# Pinned to the wasm-bindgen version in wai-web/Cargo.lock: the CLI and the
|
||||
|
|
|
|||
|
|
@ -10,9 +10,11 @@ This document records the scope of each protocol — the capabilities included a
|
|||
|
||||
---
|
||||
|
||||
## Rust 1.95.0
|
||||
## Rust
|
||||
|
||||
Every Rust workspace in this repository targets **Rust 1.95.0 (edition 2024)**. The pin is at the repository root in [`rust-toolchain.toml`](rust-toolchain.toml). Per-workspace MSRV is declared in each `Cargo.toml` (`rust-version = "1.95"`). CI enforces both.
|
||||
Every Rust workspace in this repository is built with the toolchain pinned at the repository root in [`rust-toolchain.toml`](rust-toolchain.toml), which tracks the latest stable release (edition 2024). CI installs that exact version on every runner, so the pin is what the code is held to.
|
||||
|
||||
There is no minimum-supported-version floor below the pin. The `rust-version` key in each `Cargo.toml` is a cargo convenience -- it turns an older toolchain into a clear message instead of a compile error -- and is not a support promise.
|
||||
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@ version = "0.1.0"
|
|||
edition = "2024"
|
||||
license = "Apache-2.0"
|
||||
repository = "https://github.com/transaction-science/open-standards"
|
||||
rust-version = "1.97"
|
||||
authors = ["Transaction Science <[email protected]>"]
|
||||
|
||||
[workspace.dependencies]
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@ version.workspace = true
|
|||
edition.workspace = true
|
||||
license.workspace = true
|
||||
repository.workspace = true
|
||||
rust-version.workspace = true
|
||||
default-run = "aac-conformance"
|
||||
|
||||
[lints]
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@ version.workspace = true
|
|||
edition.workspace = true
|
||||
license.workspace = true
|
||||
repository.workspace = true
|
||||
rust-version.workspace = true
|
||||
authors.workspace = true
|
||||
|
||||
[lints]
|
||||
|
|
|
|||
|
|
@ -277,6 +277,6 @@ mod tests {
|
|||
|
||||
assert!(coverage.core_words_used >= 3);
|
||||
assert!(coverage.coverage_percent > 0.0);
|
||||
assert!(!coverage.unused_words.is_empty());
|
||||
assert_ne!(coverage.unused_words, [] as [String; 0]);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1333,7 +1333,10 @@ mod tests {
|
|||
assert_eq!(second.len(), 3);
|
||||
assert_eq!(second.presses.iter().map(|p| p.board).collect::<Vec<_>>(), [w.home.id, w.needs.id, w.drinks.id]);
|
||||
// A word on no board is not found; one no press leads to has no way.
|
||||
assert!(f.find("zorp", &[w.home.id], Reach::default()).is_empty());
|
||||
assert_eq!(
|
||||
f.find("zorp", &[w.home.id], Reach::default()),
|
||||
[] as [Found; 0]
|
||||
);
|
||||
let lonely = f.find("lonely", &[w.home.id], Reach::default());
|
||||
assert_eq!(lonely.len(), 1);
|
||||
assert_eq!(lonely[0].way, None);
|
||||
|
|
@ -1427,7 +1430,7 @@ mod tests {
|
|||
assert_eq!(got("wat"), [("I want water".into(), Match::Start)]);
|
||||
assert_eq!(got("ate"), [("I want water".into(), Match::Inside)]);
|
||||
// One letter is never found inside a word.
|
||||
assert!(got("t").is_empty());
|
||||
assert_eq!(got("t"), [] as [(String, Match); 0]);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
@ -1459,7 +1462,7 @@ mod tests {
|
|||
}
|
||||
// A Hangul syllable is its jamo, so one still being typed is found.
|
||||
assert!(search_key("물").starts_with(&search_key("무")));
|
||||
assert!(!search_key("물").is_empty());
|
||||
assert_ne!(search_key("물"), "");
|
||||
// Chinese is as written.
|
||||
assert_ne!(search_key("说"), search_key("說"));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -546,6 +546,6 @@ mod tests {
|
|||
}
|
||||
// Never the word itself, and never a bare stem as a verb.
|
||||
assert!(!dictionary_forms("たべる", kinds).contains(&"たべる".to_string()));
|
||||
assert!(dictionary_forms("いき", kinds).is_empty());
|
||||
assert_eq!(dictionary_forms("いき", kinds), [] as [String; 0]);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -388,7 +388,7 @@ mod tests {
|
|||
// Vietnamese: a vowel takes its five tones; a consonant none.
|
||||
assert_eq!(then_for("vi", "a").len(), 5);
|
||||
assert!(then_for("vi", "an").is_empty() || then_for("vi", "an").len() == 5);
|
||||
assert!(then_for("en", "a").is_empty());
|
||||
assert_eq!(then_for("en", "a"), [] as [Item; 0]);
|
||||
// Kana: its small and voiced forms, then the katakana of each;
|
||||
// Ethiopic: the other orders.
|
||||
let form = |f: &str| Item::Form(f.into());
|
||||
|
|
@ -397,7 +397,7 @@ mod tests {
|
|||
// has a name.
|
||||
assert_eq!(then_for("sv", "e"), vec![form("é")]);
|
||||
assert_eq!(then_for("sv", "E"), vec![form("é")]);
|
||||
assert!(then_for("sv", "a").is_empty());
|
||||
assert_eq!(then_for("sv", "a"), [] as [Item; 0]);
|
||||
assert!(letter_groups("fr", 5).last().unwrap().contains(&letter("'")));
|
||||
assert!(!letter_groups("de", 5).last().unwrap().contains(&letter("'")));
|
||||
assert_eq!(then_for("am", "ቀ").len(), 6 + 5);
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ fn places_of(page: &Page, action: &KeyAction) -> Vec<(u16, u16)> {
|
|||
fn every_row_covers_the_whole_grid() {
|
||||
for kb in all() {
|
||||
for page in &kb.pages {
|
||||
assert!(!page.rows.is_empty());
|
||||
assert_ne!(page.rows, [] as [Vec<Key>; 0]);
|
||||
for (r, row) in page.rows.iter().enumerate() {
|
||||
let covered: u16 = row.iter().map(|k| k.span).sum();
|
||||
assert_eq!(
|
||||
|
|
|
|||
|
|
@ -2451,7 +2451,7 @@ mod tests {
|
|||
let v = to_obf_with(&sample_board(), &ObfExportOptions { sprites: sprites(), ..ObfExportOptions::default() });
|
||||
assert_eq!(v["license"]["type"], "private");
|
||||
let images = v["images"].as_array().unwrap();
|
||||
assert!(!images.is_empty());
|
||||
assert_ne!(images.as_slice(), [] as [Value; 0]);
|
||||
for img in images {
|
||||
let set = img["symbol"]["set"].as_str().unwrap();
|
||||
let info = set_info(SymbolSet::ALL.into_iter().find(|s| s.as_str() == set).unwrap());
|
||||
|
|
@ -2487,7 +2487,10 @@ mod tests {
|
|||
assert!(bare["images"].as_array().unwrap().iter().all(|img| img.get("data").is_none() && img["width"].is_u64()));
|
||||
// Words only: no pictures.
|
||||
let none = to_obf_with(&sample_board(), &ObfExportOptions { symbol_set: None, ..ObfExportOptions::default() });
|
||||
assert!(none["images"].as_array().unwrap().is_empty());
|
||||
assert_eq!(
|
||||
none["images"].as_array().unwrap().as_slice(),
|
||||
[] as [Value; 0]
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
@ -2762,7 +2765,10 @@ mod tests {
|
|||
// Without the bytes, a recording is left out rather than named
|
||||
// where no other app can find it; the button speaks its words.
|
||||
let bare = to_obf(&board);
|
||||
assert!(bare["sounds"].as_array().unwrap().is_empty());
|
||||
assert_eq!(
|
||||
bare["sounds"].as_array().unwrap().as_slice(),
|
||||
[] as [Value; 0]
|
||||
);
|
||||
assert!(button(&bare, "love").get("sound_id").is_none());
|
||||
assert!(button(&bare, "Rex").get("image_id").is_none());
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1374,7 +1374,7 @@ mod tests {
|
|||
|
||||
let ctx = CommunicationContext::now();
|
||||
let preds = engine.predict("I", &ctx, 10);
|
||||
assert!(!preds.is_empty());
|
||||
assert!(!preds.is_empty(), "a pinned phrase matching the partial predicts something");
|
||||
assert_eq!(preds[0].source, PredictionSource::Pinned);
|
||||
}
|
||||
|
||||
|
|
@ -1383,8 +1383,8 @@ mod tests {
|
|||
let engine = PredictionEngine::new();
|
||||
let ctx = CommunicationContext::now();
|
||||
let preds = engine.predict("hello", &ctx, 10);
|
||||
assert!(preds.is_empty());
|
||||
assert!(engine.predict_letters("hel", 5).is_empty());
|
||||
assert!(preds.is_empty(), "an engine with nothing in it predicts nothing: {preds:?}");
|
||||
assert_eq!(engine.predict_letters("hel", 5), [] as [LetterCandidate; 0]);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
@ -1485,7 +1485,7 @@ mod tests {
|
|||
.unwrap();
|
||||
let mut engine = PredictionEngine::new();
|
||||
engine.set_language("gu", None).unwrap();
|
||||
assert!(engine.language_status().notes.is_empty());
|
||||
assert_eq!(engine.language_status().notes, [] as [String; 0]);
|
||||
assert_eq!(engine.language_status_in(&index).notes, vec!["no source covers it yet".to_string()]);
|
||||
assert_eq!(PredictionLanguageStatus::from_index(&index, "gu").notes, engine.language_status_in(&index).notes);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -195,7 +195,7 @@ fn hidden_and_blank_cells_print_as_empty_places() {
|
|||
only_cat.cells.retain(|c| c.id == hidden);
|
||||
map.insert(id, only_cat);
|
||||
let plan = plan(&map, Some(id), Some(&[id]), PrintKind::Boards, PrintSettings::default(), Some(SymbolSet::Mulberry), None).unwrap();
|
||||
assert!(plan.symbol_sets.is_empty());
|
||||
assert_eq!(plan.symbol_sets, [] as [SymbolSet; 0]);
|
||||
assert!(!plan.pages.contains(&PageKind::Credits));
|
||||
}
|
||||
|
||||
|
|
@ -206,7 +206,7 @@ fn one_board_prints_on_one_page_with_its_credits_at_the_foot() {
|
|||
assert_eq!(plan.pages.len(), 1);
|
||||
assert!(matches!(&plan.pages[0], PageKind::Board { board, part: 1, parts: 1, .. } if *board == home));
|
||||
assert!(plan.credits_at_foot);
|
||||
assert!(!plan.symbol_sets.is_empty());
|
||||
assert_ne!(plan.symbol_sets, [] as [SymbolSet; 0]);
|
||||
// Feelings is not printed: its link has no page.
|
||||
assert_eq!(plan.page_of(feelings), None);
|
||||
assert_eq!(plan.go_to(&CellAction::Navigate(feelings)), None);
|
||||
|
|
|
|||
|
|
@ -485,7 +485,7 @@ mod tests {
|
|||
let mut count = 0;
|
||||
for (concept, sets) in concepts() {
|
||||
assert_eq!(normalize_concept(concept), concept, "index key {concept:?} is not normalised");
|
||||
assert!(!sets.is_empty());
|
||||
assert!(!sets.is_empty(), "index key {concept:?} maps to no set");
|
||||
for (&set, id) in sets {
|
||||
let found = lookup(concept, set).unwrap();
|
||||
assert_eq!((found.set, found.id, found.fallback), (set, id.as_str(), false));
|
||||
|
|
@ -591,7 +591,7 @@ mod tests {
|
|||
fn the_picker_finds_symbols_in_english_and_in_the_persons_language() {
|
||||
let dog = search_concepts("dog", "en-US", 10);
|
||||
assert_eq!(dog.first(), Some(&"dog"), "{dog:?}");
|
||||
assert!(search_concepts(" ", "en", 10).is_empty());
|
||||
assert_eq!(search_concepts(" ", "en", 10), [] as [&str; 0]);
|
||||
assert!(search_concepts("d", "en", 5).len() <= 5);
|
||||
assert!(search_concepts("e", "en", 1000).iter().all(|k| !k.contains(':')), "no actions or arrows");
|
||||
// Spanish: "perro" finds the dog.
|
||||
|
|
@ -687,7 +687,7 @@ mod tests {
|
|||
#[test]
|
||||
#[cfg(not(feature = "nc-symbols"))]
|
||||
fn a_build_without_the_optional_sets_knows_none() {
|
||||
assert!(SymbolSet::NONCOMMERCIAL.is_empty());
|
||||
assert_eq!(SymbolSet::NONCOMMERCIAL.as_slice(), []);
|
||||
assert_eq!(SymbolSet::EVERY, SymbolSet::ALL);
|
||||
assert!(concepts().all(|(_, sets)| sets.keys().all(|s| SymbolSet::ALL.contains(s))));
|
||||
for set in SymbolSet::ALL {
|
||||
|
|
|
|||
|
|
@ -208,7 +208,7 @@ mod tests {
|
|||
#[test]
|
||||
fn missing_word_returns_empty() {
|
||||
let missing = translations_for("xyznonexistent");
|
||||
assert!(missing.is_empty());
|
||||
assert!(missing.is_empty(), "an unknown word has no translations: {missing:?}");
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
|
|||
|
|
@ -326,7 +326,7 @@ mod tests {
|
|||
})
|
||||
.collect();
|
||||
let started = std::time::Instant::now();
|
||||
assert!(new_in(&long, long.clone()).is_empty());
|
||||
assert_eq!(new_in(&long, long.clone()), [] as [Selection; 0]);
|
||||
assert!(started.elapsed() < std::time::Duration::from_secs(2), "{:?}", started.elapsed());
|
||||
let mut mine: Modelled = [("a".to_string(), 3), ("b".to_string(), 1)].into();
|
||||
merge_modelled(&mut mine, &[("a".to_string(), 2), ("c".to_string(), 4)].into());
|
||||
|
|
|
|||
|
|
@ -285,7 +285,7 @@ mod tests {
|
|||
assert_eq!(s.words, ["I", "want", "wat"]);
|
||||
assert!(s.open);
|
||||
assert!(!split_words("I want ", false).open);
|
||||
assert!(split_words("", false).words.is_empty());
|
||||
assert_eq!(split_words("", false).words, [] as [String; 0]);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@ edition.workspace = true
|
|||
# public/symbols/ holds CC BY-SA 4.0 symbol sprites (see LICENSES.md there).
|
||||
license = "Apache-2.0 AND CC-BY-SA-4.0"
|
||||
repository.workspace = true
|
||||
rust-version.workspace = true
|
||||
authors.workspace = true
|
||||
publish = false
|
||||
description = "aac.transaction.science — reference AAC communication app for the AAC open standard, built with Leptos 0.8. Free forever."
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@ version.workspace = true
|
|||
edition.workspace = true
|
||||
license.workspace = true
|
||||
repository.workspace = true
|
||||
rust-version.workspace = true
|
||||
authors.workspace = true
|
||||
|
||||
[lints]
|
||||
|
|
|
|||
|
|
@ -271,7 +271,10 @@ mod tests {
|
|||
fn uniform_is_uniform() {
|
||||
let p = UniformPrior.probabilities(&opts(), &PriorContext::default());
|
||||
assert_eq!(p, vec![1.0 / 3.0; 3]);
|
||||
assert!(UniformPrior.probabilities(&[], &PriorContext::default()).is_empty());
|
||||
assert_eq!(
|
||||
UniformPrior.probabilities(&[], &PriorContext::default()),
|
||||
[] as [f64; 0]
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
@ -288,7 +291,7 @@ mod tests {
|
|||
fn normalize_handles_garbage() {
|
||||
assert_eq!(normalize(&[f64::NAN, -1.0, 0.0]), vec![1.0 / 3.0; 3]);
|
||||
assert_eq!(normalize(&[2.0, f64::INFINITY, 2.0]), vec![0.5, 0.0, 0.5]);
|
||||
assert!(normalize(&[]).is_empty());
|
||||
assert_eq!(normalize(&[]), [] as [f64; 0]);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
|
|||
|
|
@ -564,7 +564,7 @@ mod tests {
|
|||
m.complete_selection();
|
||||
m.stage(&[900.0], true);
|
||||
m.abandon();
|
||||
assert!(m.staged().is_empty());
|
||||
assert_eq!(m.staged(), [] as [f64; 0]);
|
||||
for k in 0..3 {
|
||||
select(&mut m, 700.0 + f64::from(k));
|
||||
}
|
||||
|
|
@ -615,7 +615,7 @@ mod tests {
|
|||
fn nan_offsets_are_ignored() {
|
||||
let mut m = PressTimingModel::for_scan_interval(1000);
|
||||
m.stage(&[f64::NAN, f64::INFINITY], true);
|
||||
assert!(m.staged().is_empty());
|
||||
assert_eq!(m.staged(), [] as [f64; 0]);
|
||||
m.learn_kept(&[f64::NAN]);
|
||||
assert_eq!(m.confirmed(), 0);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -373,7 +373,7 @@ mod tests {
|
|||
}
|
||||
let o = ScanOrder::from_weights(mode, 4, 5, &w);
|
||||
assert!(o.is_fixed(), "{mode:?}");
|
||||
assert!(o.diff_from_fixed().is_empty());
|
||||
assert!(o.diff_from_fixed().is_empty(), "{mode:?} differs from fixed: {:?}", o.diff_from_fixed());
|
||||
assert!(ScanOrder::from_weights(mode, 4, 5, &CellWeights::new()).is_fixed());
|
||||
}
|
||||
// Blocks: on 4 × 4 all blocks are full, so a uniform prior is fixed;
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@ members = [
|
|||
[workspace.package]
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
rust-version = "1.97"
|
||||
license = "Apache-2.0"
|
||||
repository = "https://github.com/Transaction-Science/open-standards"
|
||||
authors = ["ARL Contributors"]
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
name = "arl-cli"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
rust-version.workspace = true
|
||||
license.workspace = true
|
||||
repository.workspace = true
|
||||
authors.workspace = true
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
name = "arl-core"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
rust-version.workspace = true
|
||||
license.workspace = true
|
||||
repository.workspace = true
|
||||
authors.workspace = true
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
name = "arl-sandbox"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
rust-version.workspace = true
|
||||
license.workspace = true
|
||||
repository.workspace = true
|
||||
authors.workspace = true
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
name = "arl-wasm"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
rust-version.workspace = true
|
||||
license.workspace = true
|
||||
repository.workspace = true
|
||||
authors.workspace = true
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@ members = [
|
|||
[workspace.package]
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
rust-version = "1.97"
|
||||
license = "Apache-2.0"
|
||||
repository = "https://github.com/Transaction-Science/open-standards"
|
||||
authors = ["EOC Benchmark Contributors"]
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
name = "eoc-bench-mt"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
rust-version.workspace = true
|
||||
license.workspace = true
|
||||
repository.workspace = true
|
||||
authors.workspace = true
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
name = "eoc-bench-router"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
rust-version.workspace = true
|
||||
license.workspace = true
|
||||
repository.workspace = true
|
||||
authors.workspace = true
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
name = "eoc-bench-runner"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
rust-version.workspace = true
|
||||
license.workspace = true
|
||||
repository.workspace = true
|
||||
authors.workspace = true
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
name = "eoc-bench"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
rust-version.workspace = true
|
||||
license.workspace = true
|
||||
repository.workspace = true
|
||||
authors.workspace = true
|
||||
|
|
|
|||
|
|
@ -33,7 +33,6 @@ members = [
|
|||
[workspace.package]
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
rust-version = "1.97"
|
||||
license = "Apache-2.0"
|
||||
repository = "https://github.com/Transaction-Science/open-standards"
|
||||
authors = ["EOC Contributors"]
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
name = "eoc-agent"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
rust-version.workspace = true
|
||||
license.workspace = true
|
||||
repository.workspace = true
|
||||
authors.workspace = true
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
name = "eoc-cache"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
rust-version.workspace = true
|
||||
license.workspace = true
|
||||
repository.workspace = true
|
||||
authors.workspace = true
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
name = "eoc-carbon"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
rust-version.workspace = true
|
||||
license.workspace = true
|
||||
repository.workspace = true
|
||||
authors.workspace = true
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue