Richard Huang Firmware Onboarding #584
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 | |
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 | |
- name: Create binary directory | |
run: | | |
mkdir build | |
cd build | |
- name: Build | |
run: | | |
cd build | |
cmake .. -DCMAKE_BUILD_TYPE=FW | |
make |