Use an ISR to handle bed stepper #21
This file contains 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 main | |
on: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/cache@v3 | |
with: | |
path: | | |
~/.cache/pip | |
~/.platformio/.cache | |
key: ${{ runner.os }}-pio | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.9" | |
- name: Install ClangFormat | |
run: sudo apt-get install -y clang-format | |
- name: Install PlatformIO Core | |
run: pip install --upgrade platformio | |
- name: ClangFormat check | |
run: find ./src ./include -regex '.*\.\(cpp\|hpp\|cu\|c\|h\)' -exec clang-format --dry-run -Werror -style=file -i {} \; | |
- name: Build PlatformIO Project | |
run: pio run | |
- name: "Update experimental tag" | |
uses: rickstaa/action-create-tag@v1 | |
with: | |
tag: "experimental" | |
force_push_tag: true | |
message: "Development release" | |
- name: Publish release | |
uses: "softprops/action-gh-release@v1" | |
with: | |
tag_name: "experimental" | |
name: "Development release" | |
body: "Latest successful build of the main branch, use at your own risks" | |
prerelease: true | |
draft: false | |
fail_on_unmatched_files: true | |
files: | | |
.pio/build/nodemcu-32s/firmware.bin | |
gerber/Gerber_K40-Control-Panel.zip |