Schubert open prep #91
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: GTests | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependecies | |
run: | | |
chmod +x ./install_UBUNTU_20_04.sh | |
sudo ./install_UBUNTU_20_04.sh | |
- name: Configure | |
run: mkdir build && cd build && cmake .. | |
- name: Build | |
run: cmake --build build --target roboteam_ai_tests -j $(nproc) && | |
cmake --build build --target roboteam_utils_tests -j $(nproc) && | |
cmake --build build --target roboteam_networking_tests -j $(nproc) | |
- name: Run | |
run: ./build/roboteam_ai/roboteam_ai_tests && | |
./build/roboteam_networking/roboteam_networking_tests && | |
./build/roboteam_utils/roboteam_utils_tests | |