Fix client build #1726
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: Test server changes | |
on: | |
push: | |
paths: | |
- "server/**" | |
- "shared/**" | |
pull_request: | |
paths: | |
- "server/**" | |
- "shared/**" | |
jobs: | |
test-server-windows: | |
name: Test server changes on Windows | |
runs-on: windows-2019 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Build | |
shell: cmd | |
run: | | |
cd server | |
build.bat | |
test-server-linux: | |
name: Test server changes on Linux | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Build | |
run: | | |
cd server | |
./build.sh |