This repository has been archived by the owner on Jun 12, 2024. It is now read-only.
changed arcs to be positional arg, and handle_arc is now fed int #133
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
# This workflow will install Python dependencies, run tests and lint with a single version of Python | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python | |
name: Builds | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ "main" ] | |
tags: | |
- '*' | |
pull_request: | |
branches: [ "main" ] | |
tags: | |
- '*' | |
permissions: | |
contents: read | |
jobs: | |
build-windows: | |
runs-on: windows-latest | |
name: Windows Builds | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.10" | |
cache: 'pip' | |
- name: Install dependencies | |
run: | | |
pip install pyinstaller | |
pip install -r requirements.txt | |
- name: Build with pyinstaller | |
run: pyinstaller main.spec | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: sumzero-win | |
path: dist | |
if-no-files-found: error | |
build-linux: | |
runs-on: ubuntu-latest | |
name: Linux Builds | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.10" | |
cache: 'pip' | |
- name: Install dependencies | |
run: | | |
pip install pyinstaller | |
pip install -r requirements.txt | |
- name: Build with pyinstaller | |
run: pyinstaller main.spec | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: sumzero-linux | |
path: dist | |
if-no-files-found: error | |
build-macos: | |
runs-on: macos-latest | |
name: MacOS Builds | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.10" | |
cache: 'pip' | |
- name: Install dependencies | |
run: | | |
pip install pyinstaller | |
pip install -r requirements.txt | |
- name: Build with pyinstaller | |
run: pyinstaller main.spec | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: sumzero-macos | |
path: dist | |
if-no-files-found: error |