diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index e2cfa9eb6..bc1818919 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -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 - name: Setup LLVM ${{ env.LLVM_VERSION }} (pinned, matches upstream rustdesk CI) - shell: pwsh + shell: powershell run: | if (-not (Test-Path 'C:\LLVM16\bin\libclang.dll')) { $url = "https://github.com/llvm/llvm-project/releases/download/llvmorg-$env:LLVM_VERSION/LLVM-$env:LLVM_VERSION-win64.exe" @@ -59,7 +59,7 @@ jobs: echo "C:\LLVM16\bin" >> $env:GITHUB_PATH - name: Setup vcpkg @ pinned commit ${{ env.VCPKG_COMMIT_ID }} - shell: pwsh + shell: powershell run: | if (-not (Test-Path 'C:\vcpkg\vcpkg.exe')) { git clone https://github.com/microsoft/vcpkg.git C:\vcpkg @@ -73,17 +73,17 @@ jobs: echo "C:\vcpkg" >> $env:GITHUB_PATH - name: Install vcpkg native deps (libvpx libyuv opus aom libjpeg-turbo, x64-windows-static) - shell: pwsh + 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 run: | - cargo build --release --no-default-features --features inline + cargo build "C:SERSYOWIE.CARGOBINRGO.EXE" BUILD --release --no-default-features --features inline - name: Verify binary + show patch line is in built source - shell: pwsh + shell: powershell run: | $exe = "target\release\rustdesk.exe" if (-not (Test-Path $exe)) { throw "rustdesk.exe not produced" }