ci: shell powershell (5.x always present) + explicit cargo.exe path

This commit is contained in:
2026-05-02 22:06:24 +10:00
parent e698148994
commit 499d50d2d4
+10 -10
View File
@@ -38,13 +38,13 @@ jobs:
submodules: recursive
- name: Verify Rust toolchain
shell: pwsh
shell: powershell
run: |
rustc --version
cargo --version
rustc --version "C:SERSYOWIE.CARGOBIN
USTC.EXE" --VERSION
cargo --version "C:SERSYOWIE.CARGOBINRGO.EXE" --VERSION
shell: pwsh
- name: Setup LLVM ${{ env.LLVM_VERSION }} (pinned, matches upstream rustdesk CI)
shell: powershell
run: |
if (-not (Test-Path 'C:\LLVM16\bin\libclang.dll')) {
@@ -59,7 +59,7 @@ jobs:
echo "LIBCLANG_PATH=C:\LLVM16\bin" >> $env:GITHUB_ENV
echo "C:\LLVM16\bin" >> $env:GITHUB_PATH
shell: pwsh
- name: Setup vcpkg @ pinned commit ${{ env.VCPKG_COMMIT_ID }}
shell: powershell
run: |
if (-not (Test-Path 'C:\vcpkg\vcpkg.exe')) {
@@ -73,17 +73,17 @@ jobs:
echo "VCPKG_ROOT=C:\vcpkg" >> $env:GITHUB_ENV
echo "C:\vcpkg" >> $env:GITHUB_PATH
shell: pwsh
- name: Install vcpkg native deps (libvpx libyuv opus aom libjpeg-turbo, x64-windows-static)
shell: powershell
run: |
C:\vcpkg\vcpkg.exe install --triplet x64-windows-static libvpx libyuv opus aom libjpeg-turbo
- name: cargo build --release (Sciter UI, no flutter, no hwcodec)
shell: pwsh
- name: cargo build "C:SERSYOWIE.CARGOBINRGO.EXE" BUILD --release (Sciter UI, no flutter, no hwcodec)
shell: powershell
cargo build --release --no-default-features --features inline
run: |
cargo build "C:SERSYOWIE.CARGOBINRGO.EXE" BUILD --release --no-default-features --features inline
shell: pwsh
- name: Verify binary + show patch line is in built source
shell: powershell
run: |
$exe = "target\release\rustdesk.exe"