Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
niley7464 committed Aug 12, 2024
1 parent 1b8f848 commit 537b5e4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@ description: Remove unused packages and files for Android build
runs:
using: composite
steps:
- uses: nttld/setup-ndk@v1
id: setup-ndk
with:
ndk-version: r25c
link-to-sdk: true
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- run: |
sudo apt-get update --fix-missing
sudo apt-get remove -y '^dotnet-.*'
Expand Down
17 changes: 2 additions & 15 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,19 @@ on:
# 05:00 AM (KST) Mon-Fri
- cron: "00 20 * * 0-4"
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: nttld/setup-ndk@v1
id: setup-ndk
with:
ndk-version: r25c
link-to-sdk: true
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: -${{ github.event.pull_request.commits }}
- name: Free unused disk space
uses: ./.github/actions/free-disk-space
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Set up NNSTREAMER-ANDROID build
uses: ./.github/actions/set-up
- name: Run build
run: ./gradlew build
- name: Upload test reports
Expand Down

0 comments on commit 537b5e4

Please sign in to comment.