Skip to content

RTS/DTR for sending config (#100) #19

RTS/DTR for sending config (#100)

RTS/DTR for sending config (#100) #19

Workflow file for this run

name: Build Workflow
on:
push:
# branches: master
jobs:
build-windows:
runs-on: windows-2019
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: '3.8'
architecture: 'x64'
- name: Install requirements
run: |
pip install -r requirements.txt -r requirements_build.txt
- name: Run PyInstaller
run: |
python -m PyInstaller tasmotizer.spec
- uses: actions/upload-artifact@v4
with:
name: Windows_tasmotizer
path: dist/tasmotizer-1.2.1.exe
build-windows-x86:
runs-on: windows-2019
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: '3.8'
architecture: 'x86'
- name: Install requirements
run: |
pip install -r requirements.txt -r requirements_build.txt
- name: Run PyInstaller
run: |
python -m PyInstaller tasmotizer32.spec
- uses: actions/upload-artifact@v4
with:
name: Windows_tasmotizer32
path: dist/tasmotizer-1.2.1-x86.exe
build-ubuntu:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: '3.8'
- name: Install requirements
run: |
pip install -r requirements.txt -r requirements_build.txt
- name: Run PyInstaller
run: |
python -m PyInstaller tasmotizer.spec
- name: See dist directory
run: ls dist
- name: 'Tar files'
run: gzip dist/tasmotizer-1.2.1
- name: 'show gzip'
run: ls dist
- uses: actions/upload-artifact@v4
with:
name: Ubuntu
path: dist/tasmotizer-1.2.1.gz
build-macos:
runs-on: macOS-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: '3.8'
- name: Install requirements
run: |
pip install -r requirements.txt -r requirements_build.txt
- name: Run PyInstaller
run: |
python -m PyInstaller tasmotizer_mac.spec
- name: See dist directory
run: ls dist
- name: Move app
run: |
mv dist/tasmotizer-1.2.1.app dist/tasmotizer-1.2.1-dev-macOS.app
- name: 'Tar files'
run: tar -cvf dist.tar dist/*
- name: 'Upload Artifact'
uses: actions/upload-artifact@v4
with:
name: macOS
path: dist.tar