Repository navigation
feat: humanization injection — adaptive feed-rate, 912 MHz overclock, measured-rate synth cadence #41
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build | |
| on: | |
| push: | |
| branches: [main] | |
| tags: ['v*'] | |
| pull_request: | |
| branches: [main] | |
| permissions: | |
| contents: write | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install ARM GCC toolchain | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y gcc-arm-none-eabi binutils-arm-none-eabi libnewlib-arm-none-eabi | |
| - name: Build firmware | |
| run: make TOOLCHAIN=/usr/bin | |
| - name: Upload firmware.hex | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: firmware-hex | |
| path: firmware.hex | |
| - name: Publish GitHub Release | |
| if: startsWith(github.ref, 'refs/tags/v') | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| files: firmware.hex | |
| generate_release_notes: true | |
| prerelease: ${{ contains(github.ref_name, '-') }} |