File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -99,24 +99,18 @@ jobs:
9999 if : runner.os == 'Windows'
100100 uses : ilammy/setup-nasm@v1
101101
102- - name : Set up Android NDK
103- if : matrix.platform == 'android'
104- uses : nttld/setup-ndk@v1
105- id : setup-ndk
106- with :
107- ndk-version : r26d
108- local-cache : true
109-
110102 - name : Install cargo-ndk (Android)
111103 if : matrix.platform == 'android'
112104 run : cargo install cargo-ndk --locked
113105
114106 - name : Build quiche
115107 shell : bash
116- env :
117- ANDROID_NDK_HOME : ${{ steps.setup-ndk.outputs.ndk-path }}
118- ANDROID_NDK_ROOT : ${{ steps.setup-ndk.outputs.ndk-path }}
119108 run : |
109+ # Android: use the runner's preinstalled (complete) NDK. build-quiche.py
110+ # picks ANDROID_NDK_HOME / _ROOT / _LATEST_HOME from the environment.
111+ if [ "${{ matrix.platform }}" = "android" ]; then
112+ echo "Using NDK: ${ANDROID_NDK_HOME:-$ANDROID_NDK_ROOT:-$ANDROID_NDK_LATEST_HOME}"
113+ fi
120114 python3 build-quiche.py ${{ matrix.platform }} \
121115 -archs "${{ matrix.arch }}" \
122116 -version "${{ inputs.quiche_version || '0.24.6' }}" \
You can’t perform that action at this time.
0 commit comments