-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (35 loc) · 1.21 KB
/
ci.yaml
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
# Copyright © SixtyFPS GmbH <[email protected]>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0
name: CI
on:
push:
branches: [main, "feature/*"]
pull_request:
branches: [main, "feature/*"]
workflow_dispatch:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
build:
strategy:
matrix:
os: [ubuntu-20.04, macOS-12, macos-14, windows-2022]
board: [stm32h735g-dk, stm32h747i-disco]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
sparse-checkout: ${{ matrix.board }}
- uses: seanmiddleditch/gha-setup-ninja@v5
- name: Install GNU Arm Embedded Toolchain
uses: carlosperate/arm-none-eabi-gcc-action@v1
with:
release: '13.3.Rel1'
- name: CMake configure
working-directory: ${{ matrix.board }}
run: |
cmake --preset Debug
- name: CMake build
working-directory: ${{ matrix.board }}
run: |
cmake --build --preset Debug