Merge pull request #16488 from Jason2866/ci_pr_refac

Ci pr refac
This commit is contained in:
Theo Arends 2022-09-10 17:14:17 +02:00 committed by GitHub
commit ffdc08ac24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 64 additions and 14 deletions

View File

@ -59,7 +59,7 @@ jobs:
with: with:
ref: development ref: development
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v3
- name: Install dependencies - name: Install dependencies
run: | run: |
pip install -U platformio pip install -U platformio
@ -83,7 +83,7 @@ jobs:
with: with:
ref: development ref: development
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v3
- name: Install dependencies - name: Install dependencies
run: | run: |
pip install -U platformio pip install -U platformio

View File

@ -58,7 +58,7 @@ jobs:
with: with:
ref: master ref: master
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v3
- name: Install dependencies - name: Install dependencies
run: | run: |
pip install -U platformio pip install -U platformio
@ -82,7 +82,7 @@ jobs:
with: with:
ref: master ref: master
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v3
- name: Install dependencies - name: Install dependencies
run: | run: |
pip install -U platformio pip install -U platformio

View File

@ -17,10 +17,61 @@ on:
- '.github/workflows/build_all_the_things.yml' - '.github/workflows/build_all_the_things.yml'
jobs: jobs:
os-check-win:
runs-on: windows-latest
if: github.repository == 'arendst/Tasmota'
strategy:
fail-fast: true
matrix:
variant:
- tasmota32s3
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
- name: Install dependencies
run: |
#python -m pip install --upgrade pip
pip install -U platformio
#platformio upgrade --dev
#platformio update
- name: Run PlatformIO
run: platformio run -e ${{ matrix.variant }}
- uses: actions/upload-artifact@v2
with:
name: firmware
path: ./build_output
os-check-mac:
runs-on: macos-latest
if: github.repository == 'arendst/Tasmota'
strategy:
fail-fast: true
matrix:
variant:
- tasmota32-webcam
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
- name: Install dependencies
run: |
#python -m pip install --upgrade pip
pip install -U platformio
#platformio upgrade --dev
#platformio update
- name: Run PlatformIO
run: platformio run -e ${{ matrix.variant }}
- uses: actions/upload-artifact@v2
with:
name: firmware
path: ./build_output
base-images: base-images:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.repository == 'arendst/Tasmota' if: github.repository == 'arendst/Tasmota'
strategy: strategy:
fail-fast: true
matrix: matrix:
variant: variant:
- tasmota - tasmota
@ -32,21 +83,19 @@ jobs:
- tasmota-minimal - tasmota-minimal
- tasmota-sensors - tasmota-sensors
- tasmota-zbbridge - tasmota-zbbridge
- tasmota32
- tasmota32c3
- tasmota32s2
- tasmota32-zbbrdgpro - tasmota32-zbbrdgpro
- tasmota-zigbee - tasmota-zigbee
- tasmota32
- tasmota32-webcam
- tasmota32-bluetooth - tasmota32-bluetooth
- tasmota32-core2 - tasmota32-core2
- tasmota32-nspanel - tasmota32-nspanel
- tasmota32-display - tasmota32-display
- tasmota32-ir - tasmota32-ir
- tasmota32-lvgl - tasmota32-lvgl
- tasmota32c3
- tasmota32c3cdc - tasmota32c3cdc
- tasmota32s2
- tasmota32s2cdc - tasmota32s2cdc
- tasmota32s3
- tasmota32s3cdc - tasmota32s3cdc
- tasmota32solo1 - tasmota32solo1
- tasmota32solo1-safeboot - tasmota32solo1-safeboot
@ -58,9 +107,9 @@ jobs:
- tasmota32s3-safeboot - tasmota32s3-safeboot
- tasmota32s3cdc-safeboot - tasmota32s3cdc-safeboot
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v1 uses: actions/setup-python@v3
- name: Install dependencies - name: Install dependencies
run: | run: |
#python -m pip install --upgrade pip #python -m pip install --upgrade pip
@ -78,13 +127,14 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.repository == 'arendst/Tasmota' if: github.repository == 'arendst/Tasmota'
strategy: strategy:
fail-fast: true
matrix: matrix:
variant: [ tasmota ] variant: [ tasmota ]
language: [ AD, AF, BG, BR, CN, CZ, DE, ES, FR, FY, GR, HE, HU, IT, KO, NL, PL, PT, RO, RU, SE, SK, TR, TW, UK, VN ] language: [ AD, AF, BG, BR, CN, CZ, DE, ES, FR, FY, GR, HE, HU, IT, KO, NL, PL, PT, RO, RU, SE, SK, TR, TW, UK, VN ]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v1 uses: actions/setup-python@v3
- name: Install dependencies - name: Install dependencies
run: | run: |
#python -m pip install --upgrade pip #python -m pip install --upgrade pip

View File

@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.repository == 'arendst/Tasmota' if: github.repository == 'arendst/Tasmota'
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Push I2CDevices.md to https://github.com/Tasmota/docs - name: Push I2CDevices.md to https://github.com/Tasmota/docs
uses: Jason2866/copy_file_to_another_repo_action@main uses: Jason2866/copy_file_to_another_repo_action@main
env: env: