Enable XML drawable factory when no decoder config is supplied #351
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: facebook/fresco/build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Print pre-setup debug info | |
run: ./ci/print-debug-info.sh | |
- uses: nttld/setup-ndk@v1 | |
id: setup-ndk | |
with: | |
ndk-version: r27b | |
- name: Install JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: | | |
11 | |
17 | |
cache: gradle | |
- name: Print post-setup debug info | |
run: | | |
./ci/print-debug-info.sh | |
echo "Printing Gradle Wrapper version" | |
./gradlew --version | |
env: | |
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }} | |
- name: Build & run tests | |
run: ./ci/build-and-test.sh | |
env: | |
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }} | |
- name: Copy Results | |
run: | | |
mkdir -p ./gh_actions/test-results/junit | |
find . -type f -regex ".*/build/test-results/.*xml" -exec cp {} ./gh_actions/test-results/junit \; | |
- uses: actions/upload-artifact@v4 | |
with: | |
path: "./gh_actions/test-results" |