build and deploy
This commit is contained in:
parent
f4935da476
commit
bb72b6ecc7
@ -1,6 +1,6 @@
|
||||
stages:
|
||||
# - test
|
||||
# - download
|
||||
- download
|
||||
- build
|
||||
# - deploy
|
||||
|
||||
@ -11,20 +11,20 @@ stages:
|
||||
# tags:
|
||||
# - xcode_12_2
|
||||
|
||||
#download_artifacts:
|
||||
# stage: download
|
||||
# script:
|
||||
# - ./Scripts/download_dependencies.sh
|
||||
# only:
|
||||
# - branches
|
||||
# - feature/script_to_upload
|
||||
# tags:
|
||||
# - bash_shell
|
||||
# environment:
|
||||
# name: oneartifactory
|
||||
# url: https://oneartifactoryprod.verizon.com/artifactory
|
||||
# variables:
|
||||
# ARTIFACTORY_URL: https://oneartifactoryprod.verizon.com/artifactory
|
||||
download_artifacts:
|
||||
stage: download
|
||||
script:
|
||||
- ./Scripts/download_dependencies.sh
|
||||
only:
|
||||
- branches
|
||||
- feature/script_to_upload
|
||||
tags:
|
||||
- bash_shell
|
||||
environment:
|
||||
name: oneartifactory
|
||||
url: https://oneartifactoryprod.verizon.com/artifactory
|
||||
variables:
|
||||
ARTIFACTORY_URL: https://oneartifactoryprod.verizon.com/artifactory
|
||||
|
||||
build_project:
|
||||
stage: build
|
||||
|
||||
@ -14,8 +14,6 @@ UNIVERSAL_OUTPUTFOLDER=${BUILD_DIR}/universal
|
||||
# Step 1. Build Device and Simulator versions
|
||||
#xcodebuild -scheme "${C_PROJECT_NAME}" ONLY_ACTIVE_ARCH=NO -configuration ${PHONE_CONFIGURATION} -sdk iphoneos -archivePath "${BUILD_DIR}/${PHONE_CONFIGURATION}-iphoneos/${C_PROJECT_NAME}" archive SKIP_INSTALL=false FRAMEWORK_SEARCH_PATHS=$FRAMEWORKS_DIR ALWAYS_SEARCH_USER_PATHS=true
|
||||
|
||||
#copy the framework into the build directory where it is looking for it.
|
||||
#ditto "$FRAMEWORKS_DIR/MVMCore.framework" "${BUILD_DIR}/${SIMULATOR_CONFIGURATION}-iphonesimulator/MVMCore.framework
|
||||
xcodebuild -target "${C_PROJECT_NAME}" ONLY_ACTIVE_ARCH=NO -configuration ${SIMULATOR_CONFIGURATION} -sdk iphonesimulator FRAMEWORK_SEARCH_PATHS=$FRAMEWORKS_DIR ALWAYS_SEARCH_USER_PATHS=true ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=true
|
||||
|
||||
#mkdir -p "${UNIVERSAL_OUTPUTFOLDER}"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user