diff options
author | Jo Shields <directhex@apebox.org> | 2022-05-19 22:27:40 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-19 22:27:40 +0300 |
commit | b5f9c224e785243944f9aabe56bfe3727649d4ea (patch) | |
tree | 34bad93037a0a77a26f27748f9e1ad0836c6d45b /eng/pipelines/common/xplat-setup.yml | |
parent | f6c5698cb612f3b6e56eb41d808ae7fa73c63897 (diff) |
Linux-bionic (Android libc w/o Android interop) initial implementation (#66147)
Implement support for "Linux Bionic", a RID which builds a Linux runtime against an Android libc but without Android OS functions like JNI, Dalvik, Instrumentation, etc. This configuration has been requested by a team working on an IoT scenario.
* The new RID is linux-bionic-arm64/linux-bionic-x64.
* The build reuses the existing Android build dockerfiles and Helix queues
* Since we don't have JNI, we don't have Android Crypto - instead, use an Android build of OpenSSL. As an errata, it is incumbent upon the end user to supply this in their OS environment (we download one ad-hoc for testing purposes, which was compiled by Google)
* Some tests cannot be completed due to SELinux policies affecting the shell user executing tests via adb shell in the world-writable /data/local/tmp directory. We expect those tests would pass if they pass on Android, in a real-world IoT scenario with a custom OS (rather than recycling Google's OS images intended for phones)
Closes: #66027
Diffstat (limited to 'eng/pipelines/common/xplat-setup.yml')
-rw-r--r-- | eng/pipelines/common/xplat-setup.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/eng/pipelines/common/xplat-setup.yml b/eng/pipelines/common/xplat-setup.yml index 28648302614..d576b6a042b 100644 --- a/eng/pipelines/common/xplat-setup.yml +++ b/eng/pipelines/common/xplat-setup.yml @@ -46,6 +46,12 @@ jobs: - name: _runSmokeTestsOnlyArg value: '/p:RunSmokeTestsOnly=$(isRunSmokeTestsOnly)' + - name: _overrideTestScriptWindowsCmdParameter + ${{ if eq(parameters.jobParameters.runScriptWindowsCmd, true) }}: + value: '/p:RunScriptWindowsCmd=true' + ${{ if ne(parameters.jobParameters.runScriptWindowsCmd, true) }}: + value: '' + - name: _hostedOs value: ${{ parameters.jobParameters.hostedOs }} |