Horizontal and vertical image flipping #48
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Main | |
on: | |
- push | |
- pull_request | |
jobs: | |
main: | |
strategy: | |
matrix: | |
python-version: ['3.11'] | |
os: ['ubuntu-22.04', 'macos-12', 'windows-2022'] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set Up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Cache Python Dependencies | |
uses: actions/cache@v4 | |
with: | |
path: ${{ env.pythonLocation }} | |
key: ${{ runner.os }}-os:${{ matrix.os }}-python:${{ matrix.python-version }}-${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('requirements.txt') }} | |
- name: Install Python Dependencies | |
shell: bash | |
run: pip3 install -r requirements.txt -r requirements-dev.txt | |
- 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/**/* |