[stm32-lvgl] Fix an interrupt safety bug that caused occasional crashes #260
This file contains hidden or 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
name: STM32 | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
types: [opened, reopened, synchronize, ready_for_review] | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-24.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
example: [stm32-blink, stm32-lvgl] | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Fixup for running locally in act | |
if: ${{ env.ACT }} | |
run: echo /opt/acttoolcache/node/18.20.8/x64/bin >> $GITHUB_PATH | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.11 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v5 | |
- name: Install Swift | |
uses: ./.github/actions/install-swift | |
- name: Set environment variables | |
run: | | |
echo "STM_BOARD=STM32F746G_DISCOVERY" >> $GITHUB_ENV | |
- name: Build ${{ matrix.example }} | |
working-directory: ${{ matrix.example }} | |
run: | | |
if [[ -f ./fetch-dependencies.sh ]]; then | |
./fetch-dependencies.sh | |
fi | |
if [[ -f ./build-elf.sh ]]; then | |
./build-elf.sh | |
fi | |
if [[ -f Makefile ]]; then | |
make | |
fi |