Skip to content

Commit e46281d

Browse files
[dev] Temporarily enable Android x86_64 in CI and test only dispatch
1 parent fdf7a04 commit e46281d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

utils/build-windows-toolchain.bat

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ set TMPDIR=%BuildRoot%\tmp
6060
set NINJA_STATUS=[%%f/%%t][%%p][%%es]
6161

6262
:: Build the -Test argument, if any, by subtracting skipped tests
63-
set TestArg=-Test lld,swift,dispatch,foundation,xctest,swift-format,sourcekit-lsp,
63+
set TestArg=-Test dispatch,
6464
for %%I in (%SKIP_TESTS%) do (call set TestArg=%%TestArg:%%I,=%%)
6565
if "%TestArg:~-1%"=="," (set TestArg=%TestArg:~0,-1%) else (set TestArg= )
6666

@@ -77,6 +77,8 @@ powershell.exe -ExecutionPolicy RemoteSigned -File %~dp0build.ps1 ^
7777
-ImageRoot %BuildRoot% ^
7878
%SkipPackagingArg% ^
7979
%TestArg% ^
80+
-AndroidSDKs x86_64 ^
81+
-WindowsSDKs X64 ^
8082
-Stage %PackageRoot% ^
8183
-Summary || (exit /b 1)
8284

utils/build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -792,8 +792,8 @@ function Fetch-Dependencies {
792792

793793
Extract-ZipFile -ZipFileName "android-ndk-$AndroidNDKVersion-windows.zip" -BinaryCache $BinaryCache -ExtractPath "android-ndk-$AndroidNDKVersion" -CreateExtractPath $false
794794

795-
$NDKDir = "$BinaryCache\android-ndk-r26b"
796795
if ($Test -and -not(Test-Path "$NDKDir\licenses")) {
796+
$NDKDir = "$BinaryCache\android-ndk-r26b"
797797
$CLToolsURL = "https://dl.google.com/android/repository/commandlinetools-win-11076708_latest.zip"
798798
$CLToolsHash = "4d6931209eebb1bfb7c7e8b240a6a3cb3ab24479ea294f3539429574b1eec862"
799799
DownloadAndVerify $CLToolsURL "$BinaryCache\android-cmdline-tools.zip" $CLToolsHash

0 commit comments

Comments
 (0)