-
Notifications
You must be signed in to change notification settings - Fork 8
42 lines (36 loc) · 1.07 KB
/
Copy pathfreertos.yml
File metadata and controls
42 lines (36 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: "Platform: FreeRTOS"
on:
push:
branches: [ main ]
pull_request:
jobs:
ci:
name: Build examples
runs-on: ubuntu-24.04
env:
REACTOR_UC_PATH: ${{ github.workspace }}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
- name: Install PICO dependencies
uses: ./.github/actions/pico
- name: Initialize Pico SDK submodules
run: |
if [ -d "/opt/pico-sdk" ]; then
cd /opt/pico-sdk
git submodule update --init --recursive
elif [ -d "$PICO_SDK_PATH" ]; then
cd $PICO_SDK_PATH
git submodule update --init --recursive
fi
- name: Clone template repository
uses: actions/checkout@v3
with:
repository: lf-lang/lf-freertos-uc-template
submodules: recursive
path: lf-freertos-uc-template
- name: Test template repository
working-directory: ${{ github.workspace }}/lf-freertos-uc-template
run: ./.github/scripts/run-all.sh