Skip to content

Commit

Permalink
Test scrcpy-server in a separate CI job
Browse files Browse the repository at this point in the history
Use a separate GitHub Action job to build and test the server.
  • Loading branch information
rom1v committed Nov 22, 2024
1 parent ce4f6b2 commit 69b4742
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
description: 'Version name (default is ref name)'

jobs:
build-scrcpy-server:
test-scrcpy-server:
runs-on: ubuntu-latest
env:
GRADLE: gradle # use native gradle instead of ./gradlew in scripts
Expand All @@ -24,6 +24,20 @@ jobs:
- name: Test scrcpy-server
run: release/test_server.sh

build-scrcpy-server:
runs-on: ubuntu-latest
env:
GRADLE: gradle # use native gradle instead of ./gradlew in scripts
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
run: release/build_server.sh

Expand Down

0 comments on commit 69b4742

Please sign in to comment.