build, unit tests, and linting #7
Workflow file for this run
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 | |
on: | |
push: | |
branches: | |
- dev | |
pull_request: | |
jobs: | |
client-windows: | |
name: Client on Windows | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Create build dir | |
run: mkdir -p build | |
- name: Run CMake | |
run: cd build && cmake -G "Unix Makefiles" .. | |
- name: Build | |
run: cd build && make run_client_tests | |
client-linux: | |
name: Client on Linux (Ubuntu) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Create build dir | |
run: mkdir -p build | |
- name: Run CMake | |
run: cd build && cmake .. | |
- name: Build | |
run: cd build && make run_client_tests | |
server-windows: | |
name: Server on Windows | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Create build dir | |
run: mkdir -p build | |
- name: Run CMake | |
run: cd build && cmake -G "Unix Makefiles" .. | |
- name: Build | |
run: cd build && make run_server_tests | |
server-linux: | |
name: Server on Linux (Ubuntu) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Create build dir | |
run: mkdir -p build | |
- name: Run CMake | |
run: cd build && cmake .. | |
- name: Build | |
run: cd build && make run_server_tests | |
shared-windows: | |
name: Shared on Windows | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Create build dir | |
run: mkdir -p build | |
- name: Run CMake | |
run: cd build && cmake -G "Unix Makefiles" .. | |
- name: Build | |
run: cd build && make run_shared_tests | |
shared-linux: | |
name: Shared on Linux (Ubuntu) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Create build dir | |
run: mkdir -p build | |
- name: Run CMake | |
run: cd build && cmake .. | |
- name: Build | |
run: cd build && make run_shared_tests |