update version #57
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PyInstaller | |
on: [push] | |
jobs: | |
buildMac: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.9 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pyinstaller requests esptool zeroconf PyQt5 | |
- name: build with pyinstaller | |
run: | | |
pyinstaller airrohr-flasher.spec | |
ls | |
ls dist | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: airrohr-flasher-macos | |
path: dist/airrohr-flasher | |
buildUbuntu20: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.9 | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install qttools5-dev-tools pyqt5-dev-tools qt5-default python3-pip python3.9 make | |
- name: build with pyinstaller | |
run: | | |
make deps dist && ls dist/ | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: airrohr-flasher-ubuntu20 | |
path: dist/airrohr-flasher | |
buildUbuntu22: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.9 | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install qttools5-dev-tools pyqt5-dev-tools qtbase5-dev qt5-qmake python3-pip python3.9 make | |
- name: build with pyinstaller | |
run: | | |
make deps dist && ls dist/ | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: airrohr-flasher-ubuntu22 | |
path: dist/airrohr-flasher | |
buildUbuntuLatest: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.9 | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install qttools5-dev-tools pyqt5-dev-tools qtbase5-dev qt5-qmake python3-pip python3.9 make | |
- name: build with pyinstaller | |
run: | | |
make deps dist && ls dist/ | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: airrohr-flasher-ubuntu-latest | |
path: dist/airrohr-flasher | |
buildWin: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.7 | |
- name: Build App | |
run: | | |
python -m pip install --upgrade pip | |
pip install pyinstaller requests esptool zeroconf PyQt5 | |
pyinstaller airrohr-flasher.spec | |
ls dist/ | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: airrohr-flasher-win | |
path: dist/airrohr-flasher.exe | |
buildWin19: | |
runs-on: windows-2019 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.7 | |
- name: Build App | |
run: | | |
python -m pip install --upgrade pip | |
pip install pyinstaller requests esptool zeroconf PyQt5 | |
pyinstaller airrohr-flasher.spec | |
ls dist/ | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: airrohr-flasher-win19 | |
path: dist/airrohr-flasher.exe | |