mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2025-01-11 05:21:31 +11:00
ci: manually point ANDROID_NDK_ROOT to latest supplied version
It seems the symlink to `ndk-bundle` and this environment variable pointing to it have been removed to prevent the sdkmanager from failing, when finding the SDK setup to be in an "indeterminate" state. It is now up to the users themselves to install an NDK through that tool or point the right variables to a preinstalled "latest" NDK. https://github.com/actions/virtual-environments/issues/2689 https://github.com/actions/virtual-environments/pull/5926
This commit is contained in:
parent
6cdb3179c8
commit
4895a29e92
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
|
@ -67,6 +67,11 @@ jobs:
|
||||||
targets: ${{ matrix.platform.target }}
|
targets: ${{ matrix.platform.target }}
|
||||||
components: clippy
|
components: clippy
|
||||||
|
|
||||||
|
- name: Setup NDK path
|
||||||
|
shell: bash
|
||||||
|
# "Temporary" workaround until https://github.com/actions/virtual-environments/issues/5879#issuecomment-1195156618
|
||||||
|
# gets looked into.
|
||||||
|
run: echo "ANDROID_NDK_ROOT=$ANDROID_NDK_LATEST_HOME" >> $GITHUB_ENV
|
||||||
- name: Install Linux dependencies
|
- name: Install Linux dependencies
|
||||||
if: (matrix.platform.os == 'ubuntu-latest')
|
if: (matrix.platform.os == 'ubuntu-latest')
|
||||||
run: sudo apt-get update && sudo apt-get install pkg-config cmake libfreetype6-dev libfontconfig1-dev
|
run: sudo apt-get update && sudo apt-get install pkg-config cmake libfreetype6-dev libfontconfig1-dev
|
||||||
|
|
Loading…
Reference in a new issue