1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-06 19:12:30 +01:00

Change CI to use setup.py

This commit is contained in:
Elias Steurer 2021-05-16 13:12:24 +02:00
parent 20be6ba4a9
commit 5164a7b916
2 changed files with 6 additions and 7 deletions

View File

@ -25,6 +25,7 @@ build:windows_debug:
- check
script:
- cd Tools
- python setup.py
- python build.py -t debug
artifacts:
expire_in: "4 weeks"
@ -40,6 +41,7 @@ build:windows_release:
- check
script:
- cd Tools
- python setup.py
- python build.py -t release
artifacts:
expire_in: "4 weeks"
@ -55,6 +57,7 @@ build:osx_debug:
- check
script:
- cd Tools
- python3 setup.py
- python3 build.py -t debug
artifacts:
expire_in: "4 weeks"
@ -70,6 +73,7 @@ build:osx_release:
- check
script:
- cd Tools
- python3 setup.py
- python3 build.py -t release
artifacts:
expire_in: "4 weeks"
@ -96,6 +100,7 @@ build:linux_debug:
- sudo apt-get update -y
- sudo apt install build-essential libgl1-mesa-dev lld ninja-build cmake -y
- cd Tools
- python setup.py
- python build.py -t debug
artifacts:
expire_in: "4 weeks"
@ -122,6 +127,7 @@ build:linux_release:
- sudo apt-get update -y
- sudo apt install build-essential libgl1-mesa-dev lld ninja-build cmake -y
- cd Tools
- python setup.py
- python build.py -t release
artifacts:
expire_in: "4 weeks"

View File

@ -51,21 +51,14 @@ if platform == "win32":
os.environ.update(dict)
cmake_prefix_path = "c:/Qt/" + qt_version + "/" + windows_msvc
cmake_target_triplet = "x64-windows"
os.system("install_dependencies_windows.bat")
elif platform == "darwin":
cmake_prefix_path = "~/Qt/" + qt_version + "/clang_64"
deploy_command = "{prefix_path}/bin/macdeployqt {app}.app -qmldir=../../{app}/qml "
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":
deploy_command = "cqtdeployer -qmldir ../../{app}/qml -bin {app}"
cmake_prefix_path = "~/Qt/" + qt_version + "/gcc_64"
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
cwd = os.getcwd()