Skip to content

Merge branch 'main' of https://github.com/gusborg88/fnf-porter #39

Merge branch 'main' of https://github.com/gusborg88/fnf-porter

Merge branch 'main' of https://github.com/gusborg88/fnf-porter #39

Workflow file for this run

name: FNF Porter Build
on:
push:
branches: [ "main" ]
permissions:
contents: read
jobs:
build-win:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v3
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pyinstaller
pip install numpy
pip install pydub
pip install luaparser
pip install pyqt6
- name: Build with PyInstaller
run: |
pyinstaller --onefile setup.py --icon=icon.ico --noconsole -n "FNF Porter v0.1"
- name: Upload build artifact
uses: actions/upload-artifact@v4
with:
name: FNF_Porter_Build_Win
path: |
dist/*
build-mac:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v3
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pyinstaller
pip install numpy
pip install pydub
pip install luaparser
pip install pyqt6
- name: Build with PyInstaller
run: |
pyinstaller --onefile setup.py --icon=icon.icns --noconsole -n "FNF Porter v0.1"
- name: Upload build artifact
uses: actions/upload-artifact@v4
with:
name: FNF_Porter_Build_MacOS
path: |
dist/*
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v3
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pyinstaller
pip install numpy
pip install pydub
pip install luaparser
pip install pyqt6
- name: Build with PyInstaller
run: |
pyinstaller --onefile setup.py --noconsole -n "FNF Porter v0.1"
- name: Upload build artifact
uses: actions/upload-artifact@v4
with:
name: FNF_Porter_Build_Linux
path: |
dist/*