build, unit tests, and linting #1
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: Build Client | |
on: | |
push: | |
branches: | |
- dev | |
pull_request: | |
jobs: | |
windows: | |
name: Build 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 .. | |
- name: Build | |
run: make client | |
linux: | |
name: Build 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: make client |