Skip to content

Commit

Permalink
Attempt to create a CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tronical committed Aug 23, 2024
1 parent 19cfbe1 commit 2b6f36b
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# 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:
workflow_dispatch:
workflow_call:

jobs:
build:
strategy:
matrix:
os: [ubuntu-20.04, macOS-12, windows-2022]
board: [stm32h735g-dk, stm32h747i-disco]

runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
sparse-checkout: ${{ matrix.board }}
- 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

0 comments on commit 2b6f36b

Please sign in to comment.