STAR-1269: Refactor getActiveClients to return a copy of mClientList #90
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: unit_tests | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
test-release: | |
runs-on: stardom-nuc | |
steps: | |
- uses: actions/checkout@v2 | |
- name: CMake set-up for release | |
run: | | |
rm -rf build | |
mkdir build | |
cd build | |
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo .. | |
- name: Build release | |
run: | | |
cd build | |
make runUnitTests | |
- name: Run tests with release | |
run: | | |
cd build | |
./runUnitTests | |
test-debug: | |
runs-on: stardom-nuc | |
steps: | |
- uses: actions/checkout@v2 | |
- name: CMake set-up for debug | |
run: | | |
rm -rf build | |
mkdir build | |
cd build | |
cmake -DCMAKE_BUILD_TYPE=Debug .. | |
- name: Build debug | |
run: | | |
cd build | |
make runUnitTests | |
- name: Run tests with debug | |
run: | | |
cd build | |
./runUnitTests |