Add CI to test clone and project commands #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: Test Clone Command | |
on: | |
push: | |
branches: [ devel ] | |
pull_request: | |
branches: [ devel ] | |
jobs: | |
test-clone: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: '3.8' | |
- name: Install fprime-tools | |
run: | | |
pip install fprime-tools | |
- name: Install fprime-bootstrap | |
run: | | |
pip install . | |
- name: Clone fprime-tutorial-hello-world repository | |
run: | | |
fprime-bootstrap clone https://github.com/fprime-community/fprime-tutorial-hello-world | |
- name: Generate and build project | |
run: | | |
cd fprime-tutorial-hello-world | |
fprime-util generate | |
fprime-util build -j4 |