Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed May 12, 2024
1 parent 05e9c78 commit 257e4a3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/actions/android-ndk/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ inputs:
runs:
using: composite
steps:
- run: find $ANDROID_NDK
shell: bash
- name: Set Up JDK 17
uses: actions/setup-java@v4
with:
Expand All @@ -28,5 +30,5 @@ runs:
shell: bash
- run: cargo install --root ${{ runner.tool_cache }}/cargo-ndk --version ${{ inputs.cargo-ndk }} cargo-ndk --locked
shell: bash
- run: cargo ndk-env -t ${{ inputs.android-target }} --json | jq -r 'to_entries[] | [.key, .value] | @tsv' | sed 's/\t/=/' >> $GITHUB_ENV
- run: cargo ndk-env -t ${{ inputs.android-target }} --json | jq -r 'to_entries[] | [.key, .value] | @tsv' | sed 's/\t/=/' | grep -v LINKER >> $GITHUB_ENV
shell: bash
13 changes: 13 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,19 @@ jobs:
preview1-adapter: ${{ steps.calculate.outputs.preview1-adapter }}
steps:
- uses: actions/checkout@v4
- run: find $ANDROID_NDK
- run: $ANDROID_NDK/ndk-which --abi x86_64 clang
continue-on-error: true
- run: $ANDROID_NDK/ndk-which --abi arm64-v8a clang
continue-on-error: true
- run: $ANDROID_NDK/ndk-which --abi arm64-v8a gcc
continue-on-error: true
- run: $ANDROID_NDK/ndk-which --abi arm64-v8a cc
continue-on-error: true
- run: $ANDROID_NDK/ndk-which --abi arm64-v8a gdb
continue-on-error: true
- run: $ANDROID_NDK/ndk-which --abi arm64-v8a objdump
continue-on-error: true
- id: calculate
env:
GH_TOKEN: ${{ github.token }}
Expand Down

0 comments on commit 257e4a3

Please sign in to comment.