Sync with latest ESP3D Code #20
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-ci | |
on: [pull_request, push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.x | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.x" | |
architecture: "x64" | |
- name: Install platformIO | |
run: bash ./.github/ci/install-platformio.sh | |
- name : Git Marlin | |
id: marlin | |
run : git clone https://github.com/luc-github/Marlin.git Marlin | |
- name: Build all files | |
id: buildall | |
run: cd Marlin && platformio run -e mks_tinybee | |
continue-on-error: true | |
- name: Failure check | |
env: | |
STEPS_CONTEXT: ${{ toJson(steps) }} | |
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }} | |
if: steps.marlin.outcome == 'failure' || steps.buildall.outcome == 'failure' | |
run: bash ./.github/ci/final-check.sh "$GITHUB_RUN_ID" "failure" | |
- name: Success check | |
env: | |
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }} | |
if: steps.marlin.outcome == 'success' && steps.buildall.outcome == 'success' | |
run: bash ./.github/ci/final-check.sh "$GITHUB_RUN_ID" "success" |