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 }}
|
VERSION: ${{ github.event.inputs.name || github.ref_name }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-scrcpy-server:
|
test-scrcpy-server:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
GRADLE: gradle # use native gradle instead of ./gradlew in scripts
|
GRADLE: gradle # use native gradle instead of ./gradlew in scripts
|
||||||
@ -28,6 +28,20 @@ jobs:
|
|||||||
- name: Test scrcpy-server
|
- name: Test scrcpy-server
|
||||||
run: release/test_server.sh
|
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
|
- name: Build scrcpy-server
|
||||||
run: release/build_server.sh
|
run: release/build_server.sh
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user