Skip to content

Commit

Permalink
macos android ci(perf): don't use built in java
Browse files Browse the repository at this point in the history
  • Loading branch information
mribbons committed Apr 18, 2023
1 parent c229b44 commit 58fe510
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,13 +170,23 @@ jobs:
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}

- name: Android FTE
run: |
./bin/android-functions.sh --android-fte --yes-deps
env:
VERBOSE: 1
NO_IOS: 1
CI: true
SSC_ANDROID_CI: true
ANDROID_SUPPORTED_ABIS: x86_64
NODE_AUTH_TOKEN: ${{ secrets.PACKAGE_PAT }}

- name: install Socket Runtime deps
run: |
brew install automake
- name: Build Socket Runtime
run: |
./bin/android-functions.sh --android-fte --yes-deps
./bin/install.sh
./bin/ci_version_check.sh
env:
Expand Down
3 changes: 3 additions & 0 deletions bin/android-functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -748,6 +748,9 @@ function android_fte() {
local set_exit_code=""

[[ -n "$android_fte" ]] && return 0
[[ "$CI" == "true" ]] && export JAVA_HOME=""

echo "JAVA_HOME: $JAVA_HOME":

while (( $# > 0 )); do
declare arg="$1"; shift
Expand Down

0 comments on commit 58fe510

Please sign in to comment.