Skip to content

Merging 5.5 back into master #147

Merging 5.5 back into master

Merging 5.5 back into master #147

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