mirror of
https://github.com/morluto/rea.git
synced 2026-11-30 18:39:24 +00:00
* chore(deps): bump actions/setup-node from 4.4.0 to 7.1.0 Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4.4.0 to 7.1.0. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v4.4.0...949feb2413d6458794dcd2491c4babbbce0c15c1) --- updated-dependencies: - dependency-name: actions/setup-node dependency-version: 7.1.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * ci: record affected-test predictions above the live cutoff (#14300) * ci: compare frozen selections with observed test failures (#14301) * chore(deps): bump markdownify from 1.2.3 to 1.2.4 in /website (#14227) Bumps [markdownify](https://github.com/matthewwithanm/python-markdownify) from 1.2.3 to 1.2.4. - [Release notes](https://github.com/matthewwithanm/python-markdownify/releases) - [Commits](https://github.com/matthewwithanm/python-markdownify/compare/1.2.3...1.2.4) --- updated-dependencies: - dependency-name: markdownify dependency-version: 1.2.4 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump rcssmin from 1.2.2 to 1.3.0 in /website (#14229) Bumps [rcssmin](https://github.com/ndparker/rcssmin) from 1.2.2 to 1.3.0. - [Changelog](https://github.com/ndparker/rcssmin/blob/master/CHANGES) - [Commits](https://github.com/ndparker/rcssmin/compare/1.2.2...1.3.0) --- updated-dependencies: - dependency-name: rcssmin dependency-version: 1.3.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(ci): retry recorded crash dependency acquisition without stale index cache (#14076) Co-authored-by: ShuaixinHuang <ShuaixinHuang@users.noreply.github.com> * ci: publish the portable build cache only for selected consumers (#14307) * ci: run the verified actionlint release binary (#14309) * chore(deps): bump pyyaml from 6.0.3 to 6.0.4 in /website (#14228) Bumps [pyyaml](https://github.com/yaml/pyyaml) from 6.0.3 to 6.0.4. - [Release notes](https://github.com/yaml/pyyaml/releases) - [Changelog](https://github.com/yaml/pyyaml/blob/6.0.4/CHANGES) - [Commits](https://github.com/yaml/pyyaml/compare/6.0.3...6.0.4) --- updated-dependencies: - dependency-name: pyyaml dependency-version: 6.0.4 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * test(ci): narrow workflow steps at the cache policy boundary --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Vincent Koc <vincentkoc@ieee.org> Co-authored-by: ShuaixinHuang <1836656514@qq.com> Co-authored-by: ShuaixinHuang <ShuaixinHuang@users.noreply.github.com>
51 lines
2.4 KiB
YAML
51 lines
2.4 KiB
YAML
name: Real Android metadata bridge
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
workflow_call:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
android-metadata:
|
|
runs-on: ubuntu-24.04
|
|
timeout-minutes: 10
|
|
steps:
|
|
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
|
|
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
|
with:
|
|
package-manager-cache: false
|
|
node-version-file: .nvmrc
|
|
- name: Fetch checksum-pinned engine and public APK fixture
|
|
run: node scripts/fixtures/android/fetch.mjs "$RUNNER_TEMP/rea-android"
|
|
- name: Compile and exercise the real metadata bridge
|
|
shell: bash
|
|
run: |
|
|
export JAVA_HOME="$JAVA_HOME_21_X64"
|
|
android_root="$RUNNER_TEMP/rea-android"
|
|
classes="$android_root/classes"
|
|
# Derive the fixture's file name from the pinned release identity so an
|
|
# engine upgrade cannot leave this workflow pointing at a stale path.
|
|
jar="$android_root/$(node --input-type=module -e 'import { JADX_RELEASE } from "./src/android/JadxRelease.ts"; console.log(`jadx-headless-mcp-${JADX_RELEASE.version}-all.jar`);')"
|
|
mkdir -p "$classes"
|
|
"$JAVA_HOME/bin/javac" -J-Xmx512m -J-XX:ActiveProcessorCount=2 \
|
|
-classpath "$jar" -d "$classes" \
|
|
bridge/android/ReaJadxBridge.java \
|
|
tests/conformance/android/ReaJadxMetadataRegression.java \
|
|
tests/conformance/android/ReaJadxExternalReferencesRegression.java
|
|
"$JAVA_HOME/bin/java" -Xmx512m -XX:ActiveProcessorCount=2 \
|
|
-classpath "$classes:$jar" ReaJadxMetadataRegression \
|
|
"$android_root/ApiDemos-debug.apk" \
|
|
"$GITHUB_WORKSPACE/tests/fixtures/android/static-initializers" \
|
|
"$classes" "$GITHUB_WORKSPACE/tests/fixtures/android/direct-invokes" \
|
|
| tee "$android_root/metadata.log"
|
|
grep -F 'RAW_CLASS_SELECTOR_REGRESSION_PASS nested=true metadata=true references=true' \
|
|
"$android_root/metadata.log"
|
|
"$JAVA_HOME/bin/java" -Xmx512m -XX:ActiveProcessorCount=2 \
|
|
-classpath "$classes:$jar" ReaJadxExternalReferencesRegression \
|
|
"$GITHUB_WORKSPACE/tests/fixtures/android/external-invokes" "$classes" \
|
|
| tee "$android_root/external-references.log"
|
|
grep -F 'EXTERNAL_REFERENCE_REGRESSION_PASS prototypes=2 using_nodes=3 sites=4' \
|
|
"$android_root/external-references.log"
|