-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e98edfa
commit 7401e08
Showing
4 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
max_line_length = 80 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[**.{md,rst}] | ||
trim_trailing_whitespace = false | ||
|
||
[.git*] | ||
indent_style = tab | ||
|
||
[{**.*sh,test/run}] | ||
indent_style = tab | ||
indent_size = 4 | ||
shell_variant = bash | ||
binary_next_line = true # like -bn | ||
switch_case_indent = true # like -ci | ||
space_redirects = true # like -sr | ||
keep_padding = false # like -kp | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM python:3.7-buster | ||
|
||
ENV PIO_URL https://github.com/platformio/platformio-core/archive/develop.zip | ||
|
||
RUN pip install -U ${PIO_URL} \ | ||
&& platformio update | ||
|
||
COPY bin/entrypoint.sh /bin/entrypoint.sh | ||
|
||
ENTRYPOINT ["/bin/entrypoint.sh"] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# action.yml | ||
name: 'mabg' | ||
description: 'Marlin auto build generation with github action' | ||
inputs: | ||
branch: # branch of Marlin repo to use | ||
description: 'Marlin branch repo' | ||
required: false | ||
default: '2.0.x' | ||
runs: | ||
using: 'docker' | ||
image: 'Dockerfile' | ||
args: | ||
- ${{ inputs.branch }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
|
||
function clone () { | ||
git clone https://github.com/MarlinFirmware/Marlin.git -b $1 | ||
} | ||
|
||
clone |