Files
fan_controller-v2/.gitea/workflows/compile.yaml
Drath 012539100a
Some checks failed
Build and Push Docker Image / build (push) Failing after 1m12s
now?
2026-04-23 00:59:27 +02:00

31 lines
729 B
YAML

name: Build and Push Docker Image
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install build deps
run: apt update && apt upgrade -y && apt install gcc-riscv64-unknown-elf libnewlib-dev libudev-dev libusb-1.0-0-dev git build-essential -y
- name: Clone ch32fun repo
run: git clone https://github.com/cnlohr/ch32fun.git $(HOME)/git/ch32fun/ch32fun
- name: Compile binary
run: make
- name: Upload firmware artifact
uses: actions/upload-artifact@v4
with:
name: firmware-binary
path: |
build/*.bin
build/*.elf