diff options
author | cyberta <cyberta@riseup.net> | 2023-03-30 08:49:00 +0000 |
---|---|---|
committer | cyberta <cyberta@riseup.net> | 2023-03-30 08:49:00 +0000 |
commit | 49adad2fabcee3077be729064409bfcfbc99fe01 (patch) | |
tree | 6017e01def3ab93167d2e3ddcaad34aaec97a6ff /scripts/installFastlane.sh | |
parent | 26c71bc66038924f07cfba2f578138acaf126b68 (diff) | |
parent | 93bb86626e68c9820b7f40eebfc71c959ed0f047 (diff) |
Merge branch 'fastlane' into 'master'
fastlane
See merge request leap/bitmask_android!241
Diffstat (limited to 'scripts/installFastlane.sh')
-rwxr-xr-x | scripts/installFastlane.sh | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/scripts/installFastlane.sh b/scripts/installFastlane.sh new file mode 100755 index 00000000..9abc6211 --- /dev/null +++ b/scripts/installFastlane.sh @@ -0,0 +1,39 @@ +#!/bin/bash + +## --- System Dependencies for fastlane +apt-get update -qq && \ +apt-get -y dist-upgrade && \ +apt-get -y install make build-essential ruby ruby-dev imagemagick xvfb libxcb1 libname-dev + +gem install fastlane + +## ------------------------------------------------------ +## --- Android Emulator + +sdkmanager "platforms;android-30" +# +# Install Android SDK emulator package +echo y | sdkmanager "emulator" + +echo y | sdkmanager "system-images;android-31;google_apis;x86_64" +#echo y | sdkmanager "system-images;android-30;google_apis;x86_64" +#echo y | sdkmanager "system-images;android-28;google_apis;x86_64" +#echo y | sdkmanager "system-images;android-27;google_apis;x86" +#echo y | sdkmanager "system-images;android-25;google_apis;x86_64" + +echo no | avdmanager create avd --force --name testApi31 --abi google_apis/x86_64 --package 'system-images;android-31;google_apis;x86_64' +echo no | avdmanager create avd --force --name testApiduet --abi google_apis/x86_64 --package 'system-images;android-31;google_apis;x86_64' + +#echo no | avdmanager create avd --force --name testApi31 --abi google_apis/x86_64 --package 'system-images;android-30;google_apis;x86_64' +#echo no | avdmanager create avd --force --name testApiduet --abi google_apis/x86_64 --package 'system-images;android-30;google_apis;x86_64' + +#echo no | avdmanager create avd --force --name testApi28 --abi google_apis/x86_64 --package 'system-images;android-28;google_apis;x86_64' +#echo no | avdmanager create avd --force --name testApiduet --abi google_apis/x86_64 --package 'system-images;android-28;google_apis;x86_64' + +#echo no | avdmanager create avd --force --name testApi27 --abi google_apis/x86 --package 'system-images;android-27;google_apis;x86' +#echo no | avdmanager create avd --force --name testApiduet --abi google_apis/x86 --package 'system-images;android-27;google_apis;x86' + +#echo no | avdmanager create avd --force --name testApi25 --abi google_apis/x86_64 --package 'system-images;android-25;google_apis;x86_64' +#echo no | avdmanager create avd --force --name testApiduet --abi google_apis/x86_64 --package 'system-images;android-25;google_apis;x86_64' + +##bundle exec fastlane android bitmask_screenshots |