forked from Ivasoft/mattermost-mobile
Required changes to the CI automation for e2e-testing (#6629)
* Migrate steps to gekidou * Port changes for gekidou * run tests again * bump cache to check * Change image to make sure * try npm i * Run NODE_ENV=development npm update * Try stuff * try * Try * Try * use a bashrc file * use a bashrc file * use a bashrc file * use a bashrc file * use a bashrc file * revert * Tests run now again * Comment test step again * Migrate steps to gekidou * Port changes for gekidou * run tests again * Change image to make sure * try npm i * Run NODE_ENV=development npm update * Try stuff * try * Try * Try * use a bashrc file * use a bashrc file * use a bashrc file * use a bashrc file * use a bashrc file * revert * Tests run now again * Comment test step again * Change derived data path * Fix commata * Add headless * Remove headless, because it is not supported * Fix no job * Try other system image * Fix calling * Remove unnecessary changes. * Focus on important changes for ios to succeed.
This commit is contained in:
@@ -380,7 +380,7 @@ platform :ios do
|
||||
|
||||
sh 'rm -rf ../ios/build/'
|
||||
sh 'rm -rf ../build-ios/'
|
||||
sh 'cd ../ios && xcodebuild -workspace Mattermost.xcworkspace -scheme Mattermost -arch x86_64 -sdk iphonesimulator -configuration Release -parallelizeTargets -derivedDataPath ../build-ios ENABLE_BITCODE=NO CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ENABLE_BITCODE=NO'
|
||||
sh 'cd ../ios && xcodebuild -workspace Mattermost.xcworkspace -scheme Mattermost -arch x86_64 -sdk iphonesimulator -configuration Release -parallelizeTargets -derivedDataPath ../#{data_path} ENABLE_BITCODE=NO CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ENABLE_BITCODE=NO'
|
||||
sh "cd ../#{data_path}/Build/Products/Release-iphonesimulator && zip -r Mattermost-simulator-x86_64.app.zip Mattermost.app"
|
||||
sh "mv ../#{data_path}/Build/Products/Release-iphonesimulator/Mattermost-simulator-x86_64.app.zip ../"
|
||||
sh 'rm -rf ../build-ios/'
|
||||
|
||||
Reference in New Issue
Block a user