3131 FLUTTER_ELINUX_VERSION : " 3.16.9"
3232 TAG_NAME : " ${{ inputs.upload-tag }}"
3333 VCPKG_BINARY_SOURCES : " clear;x-gha,readwrite"
34- # vcpkg version: 2024.11.16
35- VCPKG_COMMIT_ID : " b2cb0da531c2f1f740045bfe7c4dac59f0b2b69c "
36- VERSION : " 1.3.6 "
34+ # vcpkg version: 2025.01.13
35+ VCPKG_COMMIT_ID : " 6f29f12e82a8293156836ad81cc9bf5af41fe836 "
36+ VERSION : " 1.3.7 "
3737 NDK_VERSION : " r27c"
3838 # signing keys env variable checks
3939 ANDROID_SIGNING_KEY : " ${{ secrets.ANDROID_SIGNING_KEY }}"
9191
9292 - name : Checkout source code
9393 uses : actions/checkout@v4
94+ with :
95+ submodules : recursive
9496
9597 - name : Restore bridge files
9698 uses : actions/download-artifact@master
@@ -280,6 +282,8 @@ jobs:
280282
281283 - name : Checkout source code
282284 uses : actions/checkout@v4
285+ with :
286+ submodules : recursive
283287
284288 - name : Install LLVM and Clang
285289 uses : rustdesk-org/install-llvm-action-32bit@master
@@ -408,6 +412,8 @@ jobs:
408412
409413 - name : Checkout source code
410414 uses : actions/checkout@v4
415+ with :
416+ submodules : recursive
411417
412418 - name : Restore bridge files
413419 uses : actions/download-artifact@master
@@ -493,6 +499,9 @@ jobs:
493499 brew install nasm yasm
494500 - name : Checkout source code
495501 uses : actions/checkout@v4
502+ with :
503+ submodules : recursive
504+
496505 - name : Install flutter
497506 uses : subosito/flutter-action@v2
498507 with :
@@ -627,6 +636,8 @@ jobs:
627636
628637 - name : Checkout source code
629638 uses : actions/checkout@v4
639+ with :
640+ submodules : recursive
630641
631642 # $VCPKG_ROOT/vcpkg install --triplet arm64-ios --x-install-root="$VCPKG_ROOT/installed"
632643
@@ -699,6 +710,8 @@ jobs:
699710
700711 - name : Checkout source code
701712 uses : actions/checkout@v4
713+ with :
714+ submodules : recursive
702715
703716 - name : Import the codesign cert
704717 if : env.MACOS_P12_BASE64 != null
@@ -991,6 +1004,9 @@ jobs:
9911004
9921005 - name : Checkout source code
9931006 uses : actions/checkout@v4
1007+ with :
1008+ submodules : recursive
1009+
9941010 - name : Install flutter
9951011 uses : subosito/flutter-action@v2
9961012 with :
@@ -1060,16 +1076,6 @@ jobs:
10601076 prefix-key : rustdesk-lib-cache-android # TODO: drop '-android' part after caches are invalidated
10611077 key : ${{ matrix.job.target }}
10621078
1063- - name : fix android for flutter 3.13
1064- if : ${{ env.ANDROID_FLUTTER_VERSION == '3.13.9' }}
1065- run : |
1066- cd flutter
1067- sed -i 's/uni_links_desktop/#uni_links_desktop/g' pubspec.yaml
1068- sed -i 's/extended_text: .*/extended_text: 11.1.0/' pubspec.yaml
1069- flutter pub get
1070- cd lib
1071- find . | grep dart | xargs sed -i 's/textScaler: TextScaler.linear(\(.*\)),/textScaleFactor: \1,/g'
1072-
10731079 - name : Build rustdesk lib
10741080 env :
10751081 ANDROID_NDK_HOME : ${{ steps.setup-ndk.outputs.ndk-path }}
@@ -1267,6 +1273,9 @@ jobs:
12671273
12681274 - name : Checkout source code
12691275 uses : actions/checkout@v4
1276+ with :
1277+ submodules : recursive
1278+
12701279 - name : Install flutter
12711280 uses : subosito/flutter-action@v2
12721281 with :
@@ -1309,16 +1318,6 @@ jobs:
13091318 name : librustdesk.so.i686-linux-android
13101319 path : ./flutter/android/app/src/main/jniLibs/x86
13111320
1312- - name : fix android for flutter 3.13
1313- if : ${{ env.ANDROID_FLUTTER_VERSION == '3.13.9' }}
1314- run : |
1315- cd flutter
1316- sed -i 's/uni_links_desktop/#uni_links_desktop/g' pubspec.yaml
1317- sed -i 's/extended_text: .*/extended_text: 11.1.0/' pubspec.yaml
1318- flutter pub get
1319- cd lib
1320- find . | grep dart | xargs sed -i 's/textScaler: TextScaler.linear(\(.*\)),/textScaleFactor: \1,/g'
1321-
13221321 - name : Build rustdesk
13231322 shell : bash
13241323 env :
@@ -1412,7 +1411,7 @@ jobs:
14121411 arch : aarch64,
14131412 target : aarch64-unknown-linux-gnu,
14141413 distro : ubuntu18.04,
1415- on : [self-hosted, Linux, ARM64] ,
1414+ on : ubuntu-22.04-arm ,
14161415 deb_arch : arm64,
14171416 vcpkg-triplet : arm64-linux,
14181417 }
@@ -1425,16 +1424,20 @@ jobs:
14251424 core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
14261425
14271426 - name : Maximize build space
1428- if : ${{ matrix.job.arch == 'x86_64' }}
14291427 run : |
14301428 sudo rm -rf /opt/ghc
14311429 sudo rm -rf /usr/local/lib/android
14321430 sudo rm -rf /usr/share/dotnet
14331431 sudo apt-get update -y
1434- sudo apt-get install -y nasm qemu-user-static
1432+ sudo apt-get install -y nasm
1433+ if [[ "${{ matrix.job.arch }}" == "x86_64" ]]; then
1434+ sudo apt-get install -y qemu-user-static
1435+ fi
14351436
14361437 - name : Checkout source code
14371438 uses : actions/checkout@v4
1439+ with :
1440+ submodules : recursive
14381441
14391442 - name : Set Swap Space
14401443 if : ${{ matrix.job.arch == 'x86_64' }}
@@ -1731,7 +1734,6 @@ jobs:
17311734
17321735 build-rustdesk-linux-sciter :
17331736 if : ${{ inputs.upload-artifact }}
1734- needs : build-rustdesk-linux # not for dep, just make it run later for parallelism
17351737 runs-on : ${{ matrix.job.on }}
17361738 timeout-minutes : 1440
17371739 name : build-rustdesk-linux-sciter ${{ matrix.job.target }}
@@ -1753,7 +1755,7 @@ jobs:
17531755 - {
17541756 arch : armv7,
17551757 target : armv7-unknown-linux-gnueabihf,
1756- on : [self-hosted, Linux, ARM64] ,
1758+ on : ubuntu-22.04-arm ,
17571759 distro : ubuntu18.04-rustdesk,
17581760 deb_arch : armhf,
17591761 sciter_arch : arm32,
@@ -1770,6 +1772,8 @@ jobs:
17701772
17711773 - name : Checkout source code
17721774 uses : actions/checkout@v4
1775+ with :
1776+ submodules : recursive
17731777
17741778 - name : Free Space
17751779 run : |
@@ -1966,6 +1970,8 @@ jobs:
19661970 steps :
19671971 - name : Checkout source code
19681972 uses : actions/checkout@v4
1973+ with :
1974+ submodules : recursive
19691975
19701976 - name : Download Binary
19711977 uses : actions/download-artifact@master
@@ -2031,13 +2037,15 @@ jobs:
20312037 target : aarch64-unknown-linux-gnu,
20322038 # try out newer flatpak since error of "error: Nothing matches org.freedesktop.Platform in remote flathub"
20332039 distro : ubuntu22.04,
2034- on : [self-hosted, Linux, ARM64] ,
2040+ on : ubuntu-22.04-arm ,
20352041 arch : aarch64,
20362042 suffix : " " ,
20372043 }
20382044 steps :
20392045 - name : Checkout source code
20402046 uses : actions/checkout@v4
2047+ with :
2048+ submodules : recursive
20412049
20422050 - name : Download Binary
20432051 uses : actions/download-artifact@master
@@ -2094,6 +2102,8 @@ jobs:
20942102 steps :
20952103 - name : Checkout source code
20962104 uses : actions/checkout@v4
2105+ with :
2106+ submodules : recursive
20972107
20982108 - name : Prepare env
20992109 run : |
0 commit comments