Files
cls_master/.gitea/workflows/build.yaml
oliver 3b10f5ffe6
Some checks failed
C Release thumbv7em-none-eabihf / Build-Release (push) Failing after 1s
Update .gitea/workflows/build.yaml
2024-12-05 03:17:07 +00:00

40 lines
1.1 KiB
YAML

name: C Release thumbv7em-none-eabihf
run-name: Build-Release
on: [push]
jobs:
Build-Release:
runs-on: cls-build
steps:
#- name: Install dependencies
# run: apt-get update && apt-get install -y gcc-arm-none-eabi binutils-arm-none-eabi ninja-build cmake protobuf-compiler python3 python3-grpcio python3-protobuf python3-pkg-resources python3-requests
# run: pip install setuptools
- name: Check out repository code
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Create Build directory
run: mkdir build
- name: Run CMake
run: cmake --preset Release -B build -S .
- name: Build
run: cmake --build build
- name: Archive production artifacts
uses: actions/upload-artifact@v3
with:
name: firmware
path: |
build/*.hex
build/*.bin
- name: Upload Firmware
env:
SERVER_KEY: ${{ secrets.SERVER_KEY }}
run: python3 tools/upload_firmware.py $SERVER_KEY