Skip to content

Commit

Permalink
Merge pull request #940 from dymk/fluidnc-ci-workflow
Browse files Browse the repository at this point in the history
Create build-only CI workflow
  • Loading branch information
MitchBradley committed Jun 26, 2023
2 parents cc3ab17 + 27ffe0c commit 04fde33
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: FluidNC Continuous Integration (Build Only)
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
pio_env:
- noradio
- wifi
- bt
# - wifibt
# - debug
pio_env_variant:
- ""
# - "_s2"
# - "_s3"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.9"
cache: "pip"
- name: Install PlatformIO
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Cache PlatformIO
uses: actions/cache@v3
with:
path: ~/.platformio
key: platformio-${{ runner.os }}
- name: Build target ${{ matrix.pio_env }}${{ matrix.pio_env_variant }}
run: pio run -e ${{ matrix.pio_env }}${{ matrix.pio_env_variant }}
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
platformio == 6.1.*

0 comments on commit 04fde33

Please sign in to comment.