2017-07-03 09:30:10 +02:00
|
|
|
import common.Library
|
|
|
|
|
|
|
|
def j = new Library
|
|
|
|
(
|
|
|
|
name: 'iOS',
|
|
|
|
label: 'iOS'
|
|
|
|
).generate(this)
|
|
|
|
|
|
|
|
|
|
|
|
j.with
|
|
|
|
{
|
|
|
|
steps
|
|
|
|
{
|
2017-12-20 14:54:05 +01:00
|
|
|
shell('security unlock-keychain \${KEYCHAIN_CREDENTIALS} \${HOME}/Library/Keychains/login.keychain-db')
|
2017-07-03 09:30:10 +02:00
|
|
|
|
2017-07-03 09:33:28 +02:00
|
|
|
shell("cd build; cmake ../source/libs -DCMAKE_BUILD_TYPE=release -DCMAKE_TOOLCHAIN_FILE=../source/cmake/iOS.toolchain.cmake -DPACKAGES_DIR=\${PACKAGES_DIR}")
|
2017-07-03 09:30:10 +02:00
|
|
|
|
|
|
|
shell('cd build; make compress')
|
|
|
|
}
|
|
|
|
}
|