Test build_without_gradle.sh in GitHub Actions

Build the server without gradle to make sure that the script works.

PR #5515 <https://github.com/Genymobile/scrcpy/pull/5515>
This commit is contained in:
Romain Vimont 2024-11-24 10:12:25 +01:00
parent a7efb180b9
commit 6f9520f3e2

View File

@ -51,6 +51,21 @@ jobs:
name: scrcpy-server
path: release/work/build-server/server/scrcpy-server
test-build-scrcpy-server-without-gradle:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup JDK
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
- name: Build scrcpy-server without gradle
run: server/build_without_gradle.sh
test-client:
runs-on: ubuntu-latest
steps: