Commit 80f4424 1 parent 68ac9cf commit 80f4424 Copy full SHA for 80f4424
File tree 2 files changed +82
-1
lines changed
2 files changed +82
-1
lines changed Original file line number Diff line number Diff line change 3
3
Packer templates to build [ macOS Anka images] ( https://veertu.com/anka-technology/ ) to use in CI:
4
4
5
5
* ` mojave-base ` image has only ` brew ` pre-installed
6
- * ` mojave-xcode-10.0 ` image is based of ` mojave-base ` and has only ` Xcode 10.0 ` pre-installed
6
+ * ` mojave-xcode-10.1 ` image is based of ` mojave-base ` and has only ` Xcode 10.1 ` pre-installed
7
+ * ` mojave-flutter ` image is based of ` mojave-xcode-10.1 ` and has only [ ` Flutter ` ] ( https://flutter.dev/ ) pre-installed
7
8
8
9
# Building Base Image
9
10
Original file line number Diff line number Diff line change
1
+ {
2
+ "builders" : [
3
+ {
4
+ "type" : " veertu-anka" ,
5
+ "vm_name" : " mojave-flutter" ,
6
+ "source_vm_name" : " mojave-xcode-10.1" ,
7
+ "cpu_count" : " 2" ,
8
+ "ram_size" : " 8G" ,
9
+ "disk_size" : " 100G" ,
10
+ "boot_delay" : " 30s"
11
+ }
12
+ ],
13
+ "provisioners" : [
14
+ {
15
+ "inline" : [
16
+ " brew --version" ,
17
+ " brew update"
18
+ ],
19
+ "type" : " shell"
20
+ },
21
+ {
22
+ "inline" : [
23
+ " brew cask install homebrew/cask-versions/java8"
24
+ ],
25
+ "type" : " shell"
26
+ },
27
+ {
28
+ "inline" : [
29
+ " brew cask install android-sdk android-ndk"
30
+ ],
31
+ "type" : " shell"
32
+ },
33
+ {
34
+ "inline" : [
35
+ " echo \" export ANDROID_SDK_ROOT=/usr/local/share/android-sdk\" >> ~/.profile" ,
36
+ " echo \" export ANDROID_NDK_HOME=/usr/local/share/android-ndk\" >> ~/.profile" ,
37
+ " source ~/.profile"
38
+ ],
39
+ "type" : " shell"
40
+ },
41
+ {
42
+ "inline" : [
43
+ " sdkmanager --update"
44
+ ],
45
+ "type" : " shell"
46
+ },
47
+ {
48
+ "inline" : [
49
+ " yes | sdkmanager --licenses"
50
+ ],
51
+ "type" : " shell"
52
+ },
53
+ {
54
+ "inline" : [
55
+ " sdkmanager tools platform-tools emulator" ,
56
+ " yes | sdkmanager \" platforms;android-28\" \" build-tools;28.0.3\" "
57
+ ],
58
+ "type" : " shell"
59
+ },
60
+ {
61
+ "inline" : [
62
+ " echo \" export FLUTTER_HOME=$HOME/flutter\" >> ~/.profile" ,
63
+ " echo \" export PATH=$HOME/flutter:$HOME/flutter/bin/:$HOME/flutter/bin/cache/dart-sdk/bin:$PATH\" >> ~/.profile" ,
64
+ " source ~/.profile" ,
65
+ " git clone https://github.com/flutter/flutter.git $FLUTTER_HOME" ,
66
+ " cd $FLUTTER_HOME" ,
67
+ " git checkout beta" ,
68
+ " git checkout stable" ,
69
+ " flutter doctor"
70
+ ],
71
+ "type" : " shell"
72
+ },
73
+ {
74
+ "inline" : [
75
+ " brew install libimobiledevice ideviceinstaller ios-deploy"
76
+ ],
77
+ "type" : " shell"
78
+ }
79
+ ]
80
+ }
You can’t perform that action at this time.
0 commit comments