Merging 5.5 back into master #147
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check health of platform scripts | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- "SignallingWebServer/**" | |
pull_request: | |
paths: | |
- "SignallingWebServer/**" | |
jobs: | |
run-script-linux: | |
if: github.repository == 'EpicGamesExt/PixelStreamingInfrastructure' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@v3 | |
- name: Launch and query signalling server using the REST API | |
working-directory: SignallingWebServer | |
run: | | |
./platform_scripts/bash/start.sh --rest_api --player_port 999 & | |
curl --retry 10 --retry-delay 20 --retry-connrefused http://localhost:999/api/status | |
run-script-macos: | |
if: github.repository == 'EpicGamesExt/PixelStreamingInfrastructure' | |
runs-on: macos-latest | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@v3 | |
- name: Launch and query signalling server using the REST API | |
working-directory: SignallingWebServer | |
run: | | |
./platform_scripts/bash/start.sh --rest_api --player_port 999 & | |
curl --retry 10 --retry-delay 20 --retry-connrefused http://localhost:999/api/status | |
run-script-windows: | |
if: github.repository == 'EpicGamesExt/PixelStreamingInfrastructure' | |
runs-on: windows-latest | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@v3 | |
- name: Launch and query signalling server using the REST API | |
working-directory: SignallingWebServer | |
run: | | |
Start-Process -NoNewWindow ".\platform_scripts\cmd\start.bat" -ArgumentList "--rest_api","--player_port 999" | |
curl --retry 10 --retry-delay 20 --retry-connrefused http://localhost:999/api/status | |