Update wheels.yml workflow

Signed-off-by: Loren Eteval <loren.eteval@proton.me>
This commit is contained in:
Loren Eteval
2023-08-19 23:45:56 +08:00
parent 4b86af4601
commit 5402baf7c3
+40 -2
View File
@@ -4,7 +4,7 @@ on: [push, pull_request]
jobs:
build:
name: ${{ matrix.os }} Python ${{ matrix.python-version }}
name: Build on ${{ matrix.os }} Python ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
@@ -24,7 +24,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- run: python --version
- name: Update pip
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install wheel
@@ -41,3 +41,41 @@ jobs:
- name: Install from source
run: python setup.py install
compile:
name: Compile on ${{ matrix.os }} Python ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04, windows-2019, windows-2022]
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: "1.20.0"
- run: go version
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- run: python --version
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install wheel
run: python -m pip install wheel
- name: Install nuitka
run: python -m pip install nuitka
- name: Install requirements.txt
run: python -m pip install -r requirements.txt
- name: Compile to console binaries
run: python -m nuitka --standalone --plugin-enable=pyside6 --assume-yes-for-downloads --include-package-data=Furious Furious --output-dir=consoleBinaries
- name: Compile to gui binaries
run: python -m nuitka --standalone --plugin-enable=pyside6 --disable-console --assume-yes-for-downloads --include-package-data=Furious Furious --output-dir=guiBinaries