2023-02-23 18:41:48 +11:00
|
|
|
name: Executable Build
|
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
os: [macos-latest, ubuntu-latest, windows-latest]
|
|
|
|
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Check-out repository
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
|
|
|
|
- name: Setup Python
|
|
|
|
uses: actions/setup-python@v4
|
|
|
|
with:
|
|
|
|
python-version: '3.9.13'
|
|
|
|
architecture: 'x64'
|
|
|
|
cache: 'pip'
|
|
|
|
cache-dependency-path: |
|
|
|
|
**/requirements*.txt
|
|
|
|
|
|
|
|
- name: Install Dependencies
|
|
|
|
run: |
|
|
|
|
pip install -r requirements.txt
|
|
|
|
|
|
|
|
- name: Build Executable
|
2023-02-23 18:55:17 +11:00
|
|
|
uses: Nuitka/Nuitka-Action@main
|
2023-02-23 18:41:48 +11:00
|
|
|
with:
|
|
|
|
script-name: DeGourou.py
|
|
|
|
onefile: true
|
|
|
|
|
|
|
|
- name: Upload Artifacts
|
|
|
|
uses: actions/upload-artifact@v3
|
|
|
|
with:
|
|
|
|
name: ${{ runner.os }} Build
|
|
|
|
path: |
|
|
|
|
build/*.exe
|
|
|
|
build/*.bin
|
|
|
|
build/*.app/**/*
|