Skip to content

Commit 2d6bf7e

Browse files
authored
[CI] - add GitHub action for building the firmware. (#18)
1 parent 9624f96 commit 2d6bf7e

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

.github/workflows/smoke-test.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Build
2+
3+
# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
4+
on:
5+
push:
6+
pull_request:
7+
schedule:
8+
# Run every Tuesday at 8 AM UTC
9+
- cron: "0 8 * * TUE"
10+
workflow_dispatch:
11+
repository_dispatch:
12+
13+
permissions:
14+
contents: read
15+
16+
jobs:
17+
smoke-test:
18+
runs-on: ubuntu-latest
19+
20+
steps:
21+
- name: Checkout repository
22+
uses: actions/checkout@v4
23+
24+
- name: Install arm-none-eabi-gcc
25+
run: sudo apt-get update && sudo apt-get install gcc-arm-none-eabi
26+
27+
- name: Build firmware with make
28+
run: make

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
:floppy_disk: `portentax8-stm32h7-fw`
22
=====================================
3+
[![Smoke test status](https://github.com/https://github.com/arduino/portentax8-stm32h7-fw/actions/workflows/smoke-test.yml/badge.svg)](https://github.com/https://github.com/arduino/portentax8-stm32h7-fw/actions/workflows/smoke-test.yml)
4+
35
This repository contains the firmware running on the `STM32H747AIIX`/Cortex-M7 core which, in combination with loadable kernel modules within the Linux distribution, provides access to various IO busses on the expansion headers of the Portenta X8.
46

57
### Developer Guide

0 commit comments

Comments
 (0)