Windows x86, ubuntu fix

This commit is contained in:
Otto Winter 2019-10-24 15:37:19 +02:00
parent 6ce8051b70
commit bce1f4bb4d
No known key found for this signature in database
GPG Key ID: DB66C0BE6013F97E
1 changed files with 28 additions and 1 deletions

View File

@ -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