test with underscores
@@ -14,9 +14,10 @@ steps:
- ${{ if eq(parameters.androidEnv, True) }}:
- bash: |
set -e
- echo "##vso[task.setvariable variable=CC_${{ parameters.target }};]${{ parameters.target }}$(androidNDK)-clang$(androidBinExt)"
- echo "##vso[task.setvariable variable=CXX_${{ parameters.target }};]${{ parameters.target }}$(androidNDK)-clang++$(androidBinExt)"
- echo "##vso[task.setvariable variable=CARGO_TARGET_${{ parameters.target }}_LINKER;]${{ parameters.target }}$(androidNDK)-clang$(androidBinExt)"
+ echo "##vso[task.setvariable variable=CC_${{ parameters.target }}]${{ parameters.target }}$(androidNDK)-clang$(androidBinExt)"
+ echo "##vso[task.setvariable variable=CC_aarch64_linux_android]${{ parameters.target }}$(androidNDK)-clang$(androidBinExt)"
+ echo "##vso[task.setvariable variable=CXX_${{ parameters.target }}]${{ parameters.target }}$(androidNDK)-clang++$(androidBinExt)"
+ echo "##vso[task.setvariable variable=CARGO_TARGET_${{ parameters.target }}_LINKER]${{ parameters.target }}$(androidNDK)-clang$(androidBinExt)"
displayName: 'Set CC, CXX, and CARGO_LINKER target specific environment variables for Android'
# Note: features are ignored when set in the workspace. This is a known bug in cargo (#5015), so cd into skia-safe instead.
