Skip to content

Merge pull request #33 from jwillikers/missing-app #75

Merge pull request #33 from jwillikers/missing-app

Merge pull request #33 from jwillikers/missing-app #75

name: Build QT Py CH32V203
"on":
pull_request:
branches: ["main"]
paths:
- '*.nix'
- .github/workflows/build-qt-py-ch32v203.yaml
- .justfile
- boards/qt-py-ch32v203/.cargo/**
- boards/qt-py-ch32v203/build.rs
- boards/qt-py-ch32v203/memory.x
- boards/qt-py-ch32v203/Cargo.lock
- boards/qt-py-ch32v203/Cargo.toml
- boards/qt-py-ch32v203/**.nix
- boards/qt-py-ch32v203/rust-toolchain.toml
- boards/qt-py-ch32v203/src/**
- flake.lock
push:
branches: ["main"]
paths:
- '*.nix'
- .github/workflows/build-qt-py-ch32v203.yaml
- .justfile
- boards/qt-py-ch32v203/.cargo/**
- boards/qt-py-ch32v203/build.rs
- boards/qt-py-ch32v203/memory.x
- boards/qt-py-ch32v203/Cargo.lock
- boards/qt-py-ch32v203/Cargo.toml
- boards/qt-py-ch32v203/**.nix
- boards/qt-py-ch32v203/rust-toolchain.toml
- boards/qt-py-ch32v203/src/**
- flake.lock
workflow_dispatch:
jobs:
build-qt-py-ch32v203:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v16
- uses: DeterminateSystems/magic-nix-cache-action@v8
- name: Build
run: nix build .#qt-py-ch32v203
- name: Upload firmware
uses: actions/upload-artifact@v4
with:
name: pwm-fan-controller-qt-py-ch32v203
path: |
result/bin/pwm-fan-controller-qt-py-ch32v203