Apply fixes android-ci and android-device-test (#2985)
This commit is contained in:
7
.github/workflows/android-device-test.yml
vendored
7
.github/workflows/android-device-test.yml
vendored
@@ -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 }}
|
||||
|
||||
@@ -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
|
||||
|
||||
6
.github/workflows/android-release.yml
vendored
6
.github/workflows/android-release.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user