Stephen Tang Onboarding Submission #455
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: Simulated Test Run | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup | |
run: | | |
sudo apt-get update | |
sudo apt-get -y install build-essential cmake expect | |
- name: Create binary directory | |
run: | | |
mkdir build | |
cd build | |
- name: Build | |
run: | | |
cd build | |
cmake .. -DCMAKE_BUILD_TYPE=FW | |
make | |
- name: Test Run | |
run: | | |
cd build | |
unbuffer timeout 30s ./onboarding |