forked from MarlinFirmware/Marlin
-
-
Notifications
You must be signed in to change notification settings - Fork 19
46 lines (38 loc) · 923 Bytes
/
test-build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#
# 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