mirror of
https://github.com/titanscouting/tra-superscript.git
synced 2024-11-10 06:54:45 +00:00
Merge pull request #10 from titanscouting/automate-build
Automate build
This commit is contained in:
commit
d684813ee0
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/
|
**/*.egg-info/
|
||||||
**/config.json
|
**/config.json
|
||||||
**/tra_analysis/
|
**/tra_analysis/
|
||||||
|
**/temp/*
|
||||||
|
|
||||||
**/errorlog.txt
|
**/errorlog.txt
|
||||||
/dist/superscript.*
|
/dist/superscript.*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
set pathtospec="../src/superscript.spec"
|
set pathtospec="../src/superscript.spec"
|
||||||
set pathtodist="../dist/"
|
set pathtodist="../dist/"
|
||||||
set pathtowork="/temp/"
|
set pathtowork="temp/"
|
||||||
|
|
||||||
pyinstaller --onefile --clean --distpath %pathtodist% --workpath %pathtowork% %pathtospec%
|
pyinstaller --onefile --clean --distpath %pathtodist% --workpath %pathtowork% %pathtospec%
|
@ -1,5 +1,5 @@
|
|||||||
pathtospec="../src/superscript.spec"
|
pathtospec="../src/superscript.spec"
|
||||||
pathtodist="../dist/"
|
pathtodist="../dist/"
|
||||||
pathtowork="/temp/"
|
pathtowork="temp/"
|
||||||
|
|
||||||
pyinstaller --onefile --clean --distpath ${pathtodist} --workpath ${pathtowork} ${pathtospec}
|
pyinstaller --onefile --clean --distpath ${pathtodist} --workpath ${pathtowork} ${pathtospec}
|
@ -143,7 +143,6 @@ from pathlib import Path
|
|||||||
from multiprocessing import Pool
|
from multiprocessing import Pool
|
||||||
import platform
|
import platform
|
||||||
import sys
|
import sys
|
||||||
from concurrent.futures import ThreadPoolExecutor
|
|
||||||
import time
|
import time
|
||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user