mirror of
https://github.com/esphome/esphome-flasher.git
synced 2024-09-27 04:12:45 +02:00
Windows x86, ubuntu fix
This commit is contained in:
parent
6ce8051b70
commit
bce1f4bb4d
29
.github/workflows/build.yml
vendored
29
.github/workflows/build.yml
vendored
@ -30,6 +30,33 @@ jobs:
|
||||
with:
|
||||
name: Windows
|
||||
path: dist/ESPHome-Flasher.exe
|
||||
build-windows-x86:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v1
|
||||
- name: Install Python
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: '3.7'
|
||||
architecture: 'x86'
|
||||
- name: Print Versions
|
||||
run: |
|
||||
python --version
|
||||
pip --version
|
||||
- name: Install requirements
|
||||
run: |
|
||||
pip install -r requirements_build.txt
|
||||
pip install -e .
|
||||
- name: Run PyInstaller
|
||||
run: |
|
||||
python -m PyInstaller.__main__ -F -w -n ESPHome-Flasher -i icon.ico esphomeflasher\__main__.py
|
||||
- name: See dist directory
|
||||
run: ls dist
|
||||
- uses: actions/upload-artifact@master
|
||||
with:
|
||||
name: Windows-x86
|
||||
path: dist/ESPHome-Flasher.exe
|
||||
|
||||
build-ubuntu:
|
||||
runs-on: ubuntu-latest
|
||||
@ -43,7 +70,7 @@ jobs:
|
||||
architecture: 'x64'
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt install python-wxgtk3.0
|
||||
sudo apt install python-wxgtk3.0 build-essential libgtk-3-dev
|
||||
- name: Print Versions
|
||||
run: |
|
||||
python --version
|
||||
|
Loading…
Reference in New Issue
Block a user