mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-07 03:22:33 +01:00
Change CI to use setup.py
This commit is contained in:
parent
20be6ba4a9
commit
5164a7b916
@ -25,6 +25,7 @@ build:windows_debug:
|
|||||||
- check
|
- check
|
||||||
script:
|
script:
|
||||||
- cd Tools
|
- cd Tools
|
||||||
|
- python setup.py
|
||||||
- python build.py -t debug
|
- python build.py -t debug
|
||||||
artifacts:
|
artifacts:
|
||||||
expire_in: "4 weeks"
|
expire_in: "4 weeks"
|
||||||
@ -40,6 +41,7 @@ build:windows_release:
|
|||||||
- check
|
- check
|
||||||
script:
|
script:
|
||||||
- cd Tools
|
- cd Tools
|
||||||
|
- python setup.py
|
||||||
- python build.py -t release
|
- python build.py -t release
|
||||||
artifacts:
|
artifacts:
|
||||||
expire_in: "4 weeks"
|
expire_in: "4 weeks"
|
||||||
@ -55,6 +57,7 @@ build:osx_debug:
|
|||||||
- check
|
- check
|
||||||
script:
|
script:
|
||||||
- cd Tools
|
- cd Tools
|
||||||
|
- python3 setup.py
|
||||||
- python3 build.py -t debug
|
- python3 build.py -t debug
|
||||||
artifacts:
|
artifacts:
|
||||||
expire_in: "4 weeks"
|
expire_in: "4 weeks"
|
||||||
@ -70,6 +73,7 @@ build:osx_release:
|
|||||||
- check
|
- check
|
||||||
script:
|
script:
|
||||||
- cd Tools
|
- cd Tools
|
||||||
|
- python3 setup.py
|
||||||
- python3 build.py -t release
|
- python3 build.py -t release
|
||||||
artifacts:
|
artifacts:
|
||||||
expire_in: "4 weeks"
|
expire_in: "4 weeks"
|
||||||
@ -96,6 +100,7 @@ build:linux_debug:
|
|||||||
- sudo apt-get update -y
|
- sudo apt-get update -y
|
||||||
- sudo apt install build-essential libgl1-mesa-dev lld ninja-build cmake -y
|
- sudo apt install build-essential libgl1-mesa-dev lld ninja-build cmake -y
|
||||||
- cd Tools
|
- cd Tools
|
||||||
|
- python setup.py
|
||||||
- python build.py -t debug
|
- python build.py -t debug
|
||||||
artifacts:
|
artifacts:
|
||||||
expire_in: "4 weeks"
|
expire_in: "4 weeks"
|
||||||
@ -122,6 +127,7 @@ build:linux_release:
|
|||||||
- sudo apt-get update -y
|
- sudo apt-get update -y
|
||||||
- sudo apt install build-essential libgl1-mesa-dev lld ninja-build cmake -y
|
- sudo apt install build-essential libgl1-mesa-dev lld ninja-build cmake -y
|
||||||
- cd Tools
|
- cd Tools
|
||||||
|
- python setup.py
|
||||||
- python build.py -t release
|
- python build.py -t release
|
||||||
artifacts:
|
artifacts:
|
||||||
expire_in: "4 weeks"
|
expire_in: "4 weeks"
|
||||||
|
@ -51,21 +51,14 @@ if platform == "win32":
|
|||||||
os.environ.update(dict)
|
os.environ.update(dict)
|
||||||
cmake_prefix_path = "c:/Qt/" + qt_version + "/" + windows_msvc
|
cmake_prefix_path = "c:/Qt/" + qt_version + "/" + windows_msvc
|
||||||
cmake_target_triplet = "x64-windows"
|
cmake_target_triplet = "x64-windows"
|
||||||
os.system("install_dependencies_windows.bat")
|
|
||||||
elif platform == "darwin":
|
elif platform == "darwin":
|
||||||
cmake_prefix_path = "~/Qt/" + qt_version + "/clang_64"
|
cmake_prefix_path = "~/Qt/" + qt_version + "/clang_64"
|
||||||
deploy_command = "{prefix_path}/bin/macdeployqt {app}.app -qmldir=../../{app}/qml "
|
deploy_command = "{prefix_path}/bin/macdeployqt {app}.app -qmldir=../../{app}/qml "
|
||||||
cmake_target_triplet = "x64-osx"
|
cmake_target_triplet = "x64-osx"
|
||||||
print("Executing install_dependencies_linux_mac.sh")
|
|
||||||
os.system("chmod +x install_dependencies_linux_mac.sh")
|
|
||||||
os.system("./install_dependencies_linux_mac.sh")
|
|
||||||
elif platform == "linux":
|
elif platform == "linux":
|
||||||
deploy_command = "cqtdeployer -qmldir ../../{app}/qml -bin {app}"
|
deploy_command = "cqtdeployer -qmldir ../../{app}/qml -bin {app}"
|
||||||
cmake_prefix_path = "~/Qt/" + qt_version + "/gcc_64"
|
cmake_prefix_path = "~/Qt/" + qt_version + "/gcc_64"
|
||||||
cmake_target_triplet = "x64-linux"
|
cmake_target_triplet = "x64-linux"
|
||||||
print("Executing install_dependencies_linux_mac.sh")
|
|
||||||
os.system("chmod +x install_dependencies_linux_mac.sh")
|
|
||||||
#os.system("./install_dependencies_linux_mac.sh")
|
|
||||||
|
|
||||||
# REMOVE OLD BUILD FOLDER
|
# REMOVE OLD BUILD FOLDER
|
||||||
cwd = os.getcwd()
|
cwd = os.getcwd()
|
||||||
|
Loading…
Reference in New Issue
Block a user