Skip to content

Add Qt Py pics

Add Qt Py pics #15

Workflow file for this run

name: Build Rasbperry Pi Pico
"on":
pull_request:
branches: ["main"]
paths:
- .github/workflows/build-pico.yaml
- .justfile
- flake.lock
- flake.nix
- boards/pico/.cargo/**
- boards/pico/build.rs
- boards/pico/memory.x
- boards/pico/Cargo.lock
- boards/pico/Cargo.toml
- boards/pico/default.nix
- boards/pico/rust-toolchain.toml
- boards/pico/src/**
push:
branches: ["main"]
paths:
- .github/workflows/build-pico.yaml
- .justfile
- flake.lock
- flake.nix
- boards/pico/.cargo/**
- boards/pico/build.rs
- boards/pico/memory.x
- boards/pico/Cargo.lock
- boards/pico/Cargo.toml
- boards/pico/default.nix
- boards/pico/rust-toolchain.toml
- boards/pico/src/**
workflow_dispatch:
jobs:
build-pico:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v14
- uses: DeterminateSystems/magic-nix-cache-action@v8
- name: Build
run: nix build '.#pwm-fan-controller-pico'
- name: Generate UF2
run: nix develop '.#pico' --command elf2uf2-rs result/bin/pwm-fan-controller-pico pwm-fan-controller-pico
- name: Upload firmware
uses: actions/upload-artifact@v4
with:
name: pwm-fan-controller-pico
path: |
result/bin/pwm-fan-controller-pico
result/bin/pwm-fan-controller-pico.uf2