Skip to content

Commit

Permalink
Apply fixes android-ci and android-device-test (#2985)
Browse files Browse the repository at this point in the history
  • Loading branch information
louwers authored Nov 1, 2024
1 parent f35a57f commit b58c0c2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/android-device-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
with:
token: ${{ steps.generate_token.outputs.token }}
details_url: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
status: queued
status: in_progress
name: ${{ matrix.test.name }}
sha: ${{ github.event.workflow_run.head_sha }}

Expand Down Expand Up @@ -162,8 +162,9 @@ jobs:
if: (matrix.test.name == 'Android Benchmark' || failure()) && env.run_device_test == 'true'
run: |
npm install
echo results_dir="$(mktemp -d)" >> "$GITHUB_ENV"
node scripts/aws-device-farm/store-test-artifacts.mjs --runArn ${{ steps.aws_device_farm_run.outputs.runArn }} --outputDir ${{ env.results_dir }}
results_dir="$(mktemp -d)"
echo results_dir="$results_dir" >> "$GITHUB_ENV"
node scripts/aws-device-farm/store-test-artifacts.mjs --runArn ${{ steps.aws_device_farm_run.outputs.runArn }} --outputDir "$results_dir"
zip -r test_artifacts.zip ${{ env.results_dir }}
- name: Store Benchmark Results
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/android-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ jobs:
distribution: "temurin"
java-version: "17"

- name: Get CMake and Ninja
uses: lukka/get-cmake@latest
with:
cmakeVersion: 3.24.1
ninjaVersion: latest

- name: Ensure source code revision
run: scripts/ensure-code-revision.sh
working-directory: platform/android
Expand Down

0 comments on commit b58c0c2

Please sign in to comment.