Add new UART/USART/LPUART initialization variants needed for STM32U5 #54
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# file: build-test.yml | |
# | |
# author: Copyright (C) 2021-2024 Kamil Szczygiel https://distortec.com https://freddiechopin.info | |
# | |
# This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not | |
# distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/. | |
# | |
name: Build Test | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build-test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
toolchain: | |
- 10.3.0-221009 | |
- 11.3.0-221023 | |
- 12.3.0-240408 | |
- 13.3.0-240530 | |
- 14.1.0-240616 | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install bleeding-edge-toolchain | |
shell: bash | |
working-directory: /tmp | |
run: | | |
wget --progress=dot:giga https://distortos.org/files/ci/arm-none-eabi-gcc-${{matrix.toolchain}}.tar.xz | |
tar -xf arm-none-eabi-gcc-${{matrix.toolchain}}.tar.xz | |
echo "$(cd arm-none-eabi-gcc-${{matrix.toolchain}}/bin && pwd)" >> $GITHUB_PATH | |
- name: Install Dependencies | |
shell: bash | |
run: | | |
sudo apt update | |
sudo apt install ninja-build | |
- name: Build | |
shell: bash | |
run: ./scripts/buildAllConfigurations.sh configurations distortosTest |