Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/setup-rust-windows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,21 @@ inputs:
runs:
using: composite
steps:
- uses: dtolnay/rust-toolchain@1.91.1
- uses: dtolnay/rust-toolchain@ab40b01f54fe82bdf65693ea090a1e4942c136e7 # 1.91.1
with:
toolchain: 1.91.1
targets: i686-pc-windows-msvc,x86_64-pc-windows-msvc,aarch64-pc-windows-msvc
# LIBCLANG_PATH must be set explicitly so the vcxproj uses the LLVM we
# install here rather than the VS-bundled LLVM whose clang headers have
# AVX intrinsic bugs. The values are hardcoded literals (no attacker-
# controlled input), so the GITHUB_ENV writes are safe.
- name: Install LLVM for bindgen
if: inputs.arch != 'arm64'
shell: cmd
shell: pwsh
run: | # zizmor: ignore[github-env]
choco install llvm --allow-downgrade --no-progress --version 21.1.0
if not exist "C:\Program Files\LLVM\bin\libclang.dll" exit /b 1
echo LIBCLANG_PATH=C:\Program Files\LLVM\bin>> "%GITHUB_ENV%"
if (!(Test-Path 'C:\Program Files\LLVM\bin\libclang.dll')) { exit 1 }
echo "LIBCLANG_PATH=C:\Program Files\LLVM\bin" >> $env:GITHUB_ENV
# Chocolatey's LLVM package only ships x64 binaries, which an ARM64-native
# cargo process cannot load. Install the official ARM64 build directly.
- name: Install LLVM for bindgen (ARM64)
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -353,8 +353,9 @@ jobs:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- uses: dtolnay/rust-toolchain@1.91.1
- uses: dtolnay/rust-toolchain@ab40b01f54fe82bdf65693ea090a1e4942c136e7 # 1.91.1
with:
toolchain: 1.91.1
targets: ${{ matrix.arch }}-linux-android
- name: Build and test
run: JAVA_HOME="${JAVA_HOME_21_X64:-$JAVA_HOME_21_arm64}" python3 Platforms/Android ci --fast-ci ${{ matrix.arch }}-linux-android
Expand All @@ -369,8 +370,9 @@ jobs:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- uses: dtolnay/rust-toolchain@1.91.1
- uses: dtolnay/rust-toolchain@ab40b01f54fe82bdf65693ea090a1e4942c136e7 # 1.91.1
with:
toolchain: 1.91.1
targets: aarch64-apple-ios-sim
# GitHub recommends explicitly selecting the desired Xcode version:
# https://github.com/actions/runner-images/issues/12541#issuecomment-3083850140
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cargo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
timeout-minutes: 15
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- uses: dtolnay/rust-toolchain@stable
- uses: dtolnay/rust-toolchain@4cda84d5c5c54efe2404f9d843567869ab1699d4 # stable
with:
toolchain: stable
- run: ./configure
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/reusable-wasi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@ jobs:
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: '3.x'
- uses: dtolnay/rust-toolchain@1.91.1
- uses: dtolnay/rust-toolchain@ab40b01f54fe82bdf65693ea090a1e4942c136e7 # 1.91.1
with:
toolchain: 1.91.1
targets: wasm32-wasip1
- name: "Runner image version"
run: echo "IMAGE_OS_VERSION=${ImageOS}-${ImageVersion}" >> "$GITHUB_ENV"
Expand Down