My MK3S+/Bear/BTT002/TMC-Multi/BMG Build #658
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
# | |
# test-build.yml | |
# Do test build to catch compile errors | |
# | |
name: CI | |
on: | |
pull_request: | |
paths-ignore: | |
- config/** | |
- data/** | |
- docs/** | |
- '**/*.md' | |
push: | |
paths-ignore: | |
- config/** | |
- data/** | |
- docs/** | |
- '**/*.md' | |
jobs: | |
test_builds: | |
name: Test Build | |
if: github.repository == 'thisiskeithb/Marlin' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check Out Commit | |
uses: actions/checkout@v3 | |
- name: Select Python 3.7 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: '3.7' # Version range or exact version of a Python version to use, using semvers version range syntax. | |
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified | |
- name: Install PlatformIO | |
run: | | |
pip install -U platformio | |
pio upgrade --dev | |
pio pkg update --global | |
- name: Build Marlin | |
run: pio run |