Merge pull request #10 from titanscouting/automate-build

Automate build
This commit is contained in:
Arthur Lu 2021-06-09 14:58:21 -07:00 committed by GitHub
commit a8a70d67fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 20 additions and 3 deletions

17
.github/workflows/build-cli.yml vendored Normal file
View File

@ -0,0 +1,17 @@
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Superscript Unit Tests
on:
release:
types: [published, edited]
jobs:
generate:
name: Build Linux
runs-on: ubuntu-latest
steps:
- name: Checkout master
uses: actions/checkout@master

1
.gitignore vendored
View File

@ -7,6 +7,7 @@
**/*.egg-info/
**/config.json
**/tra_analysis/
**/temp/*
**/errorlog.txt
/dist/superscript.*

View File

@ -1,5 +1,5 @@
set pathtospec="../src/superscript.spec"
set pathtodist="../dist/"
set pathtowork="/temp/"
set pathtowork="temp/"
pyinstaller --onefile --clean --distpath %pathtodist% --workpath %pathtowork% %pathtospec%

View File

@ -1,5 +1,5 @@
pathtospec="../src/superscript.spec"
pathtodist="../dist/"
pathtowork="/temp/"
pathtowork="temp/"
pyinstaller --onefile --clean --distpath ${pathtodist} --workpath ${pathtowork} ${pathtospec}

View File

@ -143,7 +143,6 @@ from pathlib import Path
from multiprocessing import Pool
import platform
import sys
from concurrent.futures import ThreadPoolExecutor
import time
import warnings