use prebuilt vcpkg to overwrite

This commit is contained in:
rustdesk 2024-06-20 22:45:07 +08:00
parent a91f244f35
commit 5f6f1e8d36

View File

@ -128,7 +128,6 @@ jobs:
vcpkgGitCommitId: ${{ env.VCPKG_COMMIT_ID }} vcpkgGitCommitId: ${{ env.VCPKG_COMMIT_ID }}
- name: Install vcpkg dependencies - name: Install vcpkg dependencies
if: False
run: | run: |
case ${{ matrix.job.target }} in case ${{ matrix.job.target }} in
aarch64-linux-android) aarch64-linux-android)
@ -145,12 +144,12 @@ jobs:
run: | run: |
pushd /opt pushd /opt
git clone https://github.com/rustdesk-org/rustdesk_thirdparty_lib.git --depth=1 git clone https://github.com/rustdesk-org/rustdesk_thirdparty_lib.git --depth=1
cp -rf /opt/rustdesk_thirdparty_lib/vcpkg/* /opt/artifacts/vcpkg/
- name: Build rustdesk lib - name: Build rustdesk lib
env: env:
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }} ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}
ANDROID_NDK_ROOT: ${{ steps.setup-ndk.outputs.ndk-path }} ANDROID_NDK_ROOT: ${{ steps.setup-ndk.outputs.ndk-path }}
VCPKG_ROOT: /opt/rustdesk_thirdparty_lib/vcpkg
run: | run: |
rustup target add ${{ matrix.job.target }} rustup target add ${{ matrix.job.target }}
cargo install cargo-ndk --version ${{ env.CARGO_NDK_VERSION }} cargo install cargo-ndk --version ${{ env.CARGO_NDK_VERSION }}