-
Notifications
You must be signed in to change notification settings - Fork 2
34 lines (29 loc) · 831 Bytes
/
ci.yml
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
name: Build and test
on:
workflow_dispatch:
push:
paths:
- '**.c'
- '**.h'
- '**.s'
- '**.ld'
- 'Makefile'
- 'Wokwi/**'
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install ARM GCC toolchain
uses: carlosperate/arm-none-eabi-gcc-action@v1
with:
release: "12.2.Rel1"
- name: Build project
run: make
- name: Simulate and test with Wokwi
uses: wokwi/wokwi-ci-action@v1
with:
token: ${{ secrets.WOKWI_CLI_TOKEN }}
path: /Wokwi
timeout: 5000
expect_text: "Hello FreeRTOS!"