Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build ci #8

Merged
merged 5 commits into from
Aug 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: build

on:
pull_request:
push:
branches:
- main
- master
- devel

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions/setup-python@v5
with:
python-version: '3.9'
cache: 'pip'
- name: Install Arduino CLI
uses: arduino/setup-arduino-cli@v2
with:
version: "1.0.1"
- name: Install Arduino CLI CMake Wrapper
run: pip install arduino-cli-cmake-wrapper
shell: bash
- name: Configure Arduino CLI and Install RP2040 Core
run: |
arduino-cli config init
arduino-cli config add board_manager.additional_urls https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
arduino-cli core install rp2040:rp2040
shell: bash
- name: Install Arduino Libraries
run: |
arduino-cli lib install \
RadioHead \
Time
shell: bash
- name: Install F' Requirements
run: pip install -r fprime/requirements.txt
shell: bash
- name: Build binary
run: |
fprime-util generate rpipico
fprime-util build rpipico
shell: bash
- name: Archive binary
uses: actions/upload-artifact@v4
with:
name: BroncoDeployment.uf2
path: build-artifacts/rpipico/BroncoDeployment/bin/BroncoDeployment.uf2
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# fprime-proves F' project
[![build](https://github.com/proveskit/fprime-proves/actions/workflows/build.yaml/badge.svg)](https://github.com/proveskit/fprime-proves/actions/workflows/build.yaml)

Valid for F' 3.4.3

## Building and Running the Deployment
Expand Down