mirror of
https://github.com/Genymobile/scrcpy
synced 2024-12-18 05:14:35 +00:00
Test scrcpy-server in a separate CI job
Use a separate GitHub Action job to build and test the server. PR #5515 <https://github.com/Genymobile/scrcpy/pull/5515>
This commit is contained in:
parent
26bf209617
commit
5df218d8f9
16
.github/workflows/release.yml
vendored
16
.github/workflows/release.yml
vendored
@ -11,7 +11,7 @@ env:
|
||||
VERSION: ${{ github.event.inputs.name || github.ref_name }}
|
||||
|
||||
jobs:
|
||||
build-scrcpy-server:
|
||||
test-scrcpy-server:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
GRADLE: gradle # use native gradle instead of ./gradlew in scripts
|
||||
@ -28,6 +28,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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user