Skip to content

Commit

Permalink
(wip) Working on CI. Merged workflows so we can use a matrix.
Browse files Browse the repository at this point in the history
  • Loading branch information
eriq-augustine committed Jun 25, 2024
1 parent 371e951 commit 2547e6b
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 63 deletions.
62 changes: 0 additions & 62 deletions .github/workflows/artifacts.yml

This file was deleted.

28 changes: 27 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
matrix:
python-version: ['3.11']
os: ['ubuntu-22.04']
os: ['ubuntu-22.04', 'macos-12', 'windows-2022']

runs-on: ${{ matrix.os }}

Expand All @@ -36,3 +36,29 @@ jobs:
- name: Check Python Version Compatibility
shell: bash
run: vermin --no-tips --no-parse-comments --target=3.8- --violations *.py

# Create a release for this OS (but only on a single version of Python).
# See: https://github.com/Nuitka/Nuitka?tab=readme-ov-file#use-case-7--building-with-github-workflows

- name: Build ${{ runner.os }} Release Executable with Nuitka
if: matrix.python-version == '3.11'
uses: Nuitka/Nuitka-Action@main
with:
nuitka-version: main
script-name: main.py
standalone: true
onefile: true
include-data-dir: |
./static=static
include-data-files: |
./pyproject.toml=./
- name: Upload Artifacts
if: matrix.python-version == '3.11'
uses: actions/upload-artifact@v3
with:
name: ${{ runner.os }} Build
path: |
build/*.exe
build/*.bin
build/*.app/**/*

0 comments on commit 2547e6b

Please sign in to comment.