mirror of
https://github.com/titanscouting/tra-superscript.git
synced 2024-12-29 02:59:08 +00:00
Merge pull request #10 from titanscouting/automate-build
Automate build
This commit is contained in:
commit
a8a70d67fa
17
.github/workflows/build-cli.yml
vendored
Normal file
17
.github/workflows/build-cli.yml
vendored
Normal 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
1
.gitignore
vendored
@ -7,6 +7,7 @@
|
||||
**/*.egg-info/
|
||||
**/config.json
|
||||
**/tra_analysis/
|
||||
**/temp/*
|
||||
|
||||
**/errorlog.txt
|
||||
/dist/superscript.*
|
||||
|
@ -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%
|
@ -1,5 +1,5 @@
|
||||
pathtospec="../src/superscript.spec"
|
||||
pathtodist="../dist/"
|
||||
pathtowork="/temp/"
|
||||
pathtowork="temp/"
|
||||
|
||||
pyinstaller --onefile --clean --distpath ${pathtodist} --workpath ${pathtowork} ${pathtospec}
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user