Skip to content

Add CI to test clone and project commands #1

Add CI to test clone and project commands

Add CI to test clone and project commands #1

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