Skip to content

[feat] release v0.1.1 #16

[feat] release v0.1.1

[feat] release v0.1.1 #16

Workflow file for this run

name: pyinstaller
on:
push:
branches: [ master ]
workflow_dispatch:
jobs:
build_linux:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pyinstaller
python -m pip install -r requirements.txt
- name: Build package
run: |
./build.sh
cd fastanalyzer # Build not working in outer dir ?!
python -m PyInstaller fastanalyzer.py --noconsole --name="FastAnalyzer" #--icon=assets/images/icon.ico
- name: Linux artefact
uses: actions/upload-artifact@v3
with:
name: FastAnalyzer_linux
path: ./fastanalyzer/dist/FastAnalyzer/
build_macos:
runs-on: macos-11
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: Install dependencies
run: |
brew update
brew upgrade
python -m pip install --upgrade pip
python -m pip install pyinstaller
python -m pip install -r requirements.txt
- name: Build package
run: |
./build.sh
cd fastanalyzer # Build not working in outer dir ?!
python -m PyInstaller fastanalyzer.py --noconsole --name="FastAnalyzer" --noconsole --onedir --windowed #--icon=assets/images/icon.ico
hdiutil create -volname FastAnalyzer -srcfolder dist/FastAnalyzer.app -ov -format UDZO dist/FastAnalyzer.dmg
- name: Mac artefact
uses: actions/upload-artifact@v3
with:
name: FastAnalyzer_macos
path: ./fastanalyzer/dist/FastAnalyzer.dmg
build_windows:
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pyinstaller
python -m pip install -r requirements.txt
- name: Build package
shell: bash
run: |
./build.sh
cd fastanalyzer # Build not working in outer dir ?!
python -m PyInstaller fastanalyzer.py --noconsole --name="FastAnalyzer" --noconsole #--icon=assets/images/icon.ico
- name: Windows artefact
uses: actions/upload-artifact@v3
with:
name: FastAnalyzer_windows
path: ./fastanalyzer/dist/FastAnalyzer/