Skip to content

build, unit tests, and linting #7

build, unit tests, and linting

build, unit tests, and linting #7

Workflow file for this run

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