Some checks failed
CI / build (push) Failing after 3m13s
The setup-python action has hardcoded paths that fail on self-hosted macOS runners. Use system Python directly instead. Also simplified clang-format step to use system version if available.
37 lines
926 B
YAML
37 lines
926 B
YAML
name: Compile Release
|
|
on:
|
|
push:
|
|
tags:
|
|
- '*'
|
|
|
|
jobs:
|
|
build-release:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
submodules: recursive
|
|
|
|
- name: Set up Python
|
|
run: |
|
|
# Use system Python on self-hosted runner
|
|
python3 --version
|
|
python3 -m pip install --upgrade pip
|
|
|
|
- name: Install PlatformIO Core
|
|
run: python3 -m pip install --upgrade platformio
|
|
|
|
- name: Build CrossPoint
|
|
run: pio run -e gh_release
|
|
|
|
- name: Upload Artifacts
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: CrossPoint-${{ github.ref_name }}
|
|
path: |
|
|
.pio/build/gh_release/bootloader.bin
|
|
.pio/build/gh_release/firmware.bin
|
|
.pio/build/gh_release/firmware.elf
|
|
.pio/build/gh_release/firmware.map
|
|
.pio/build/gh_release/partitions.bin
|