77
88jobs :
99 macOS :
10- if : false
11- runs-on : macos-latest
10+ runs-on : macos-13
1211 defaults :
1312 run :
1413 working-directory : example
@@ -18,23 +17,26 @@ jobs:
1817 - uses : actions/checkout@v3
1918 with :
2019 submodules : ' recursive'
20+ - name : Setup Xcode
21+ run : sudo xcode-select -s /Applications/Xcode_14.3.1.app
2122 - uses : subosito/flutter-action@v2
2223 with :
2324 channel : ' stable'
2425 cache : true
2526# - run: flutter config --enable-macos-desktop
26- - run : flutter pub get --verbose
27+ - run : flutter pub get
2728 - run : flutter build macos --verbose
28- - run : mv build/macos/Build/Products/Release/fvp_example.app .
29+ - run : |
30+ mv build/macos/Build/Products/Release/fvp_example.app .
31+ cmake -E tar cvf fvp_example_macos.7z --format=7zip fvp_example.app
2932 - name : Upload
3033 uses : actions/upload-artifact@v3
3134 with :
3235 name : fvp-example-macOS
33- path : example/fvp_example.app
36+ path : example/fvp_example_macos.7z
3437
3538 iOS :
36- if : false
37- runs-on : macos-latest
39+ runs-on : macos-13
3840 defaults :
3941 run :
4042 working-directory : example
@@ -44,12 +46,22 @@ jobs:
4446 - uses : actions/checkout@v3
4547 with :
4648 submodules : ' recursive'
49+ - name : Setup Xcode
50+ run : sudo xcode-select -s /Applications/Xcode_14.3.1.app
4751 - uses : subosito/flutter-action@v2
4852 with :
4953 channel : ' stable'
5054 cache : true
51- - run : flutter pub get --verbose
52- - run : flutter build ios --release --no-codesign
55+ - run : flutter pub get
56+ - run : flutter build ios --release --no-codesign --verbose
57+ - run : |
58+ mv build/ios/iphoneos/Runner.app .
59+ cmake -E tar cvf fvp_example_ios.7z --format=7zip Runner.app
60+ - name : Upload
61+ uses : actions/upload-artifact@v3
62+ with :
63+ name : fvp-example-iOS
64+ path : example/fvp_example_ios.7z
5365
5466
5567 Windows :
6779 with :
6880 channel : ' stable'
6981 cache : true
70- - run : flutter pub get --verbose
82+ - run : flutter pub get
7183 - run : flutter build windows --verbose
7284 - run : mv build/windows/runner/Release .
7385 - run : cmake -E tar cvf fvp_example_windows.7z --format=7zip Release
96108 sudo apt-get update -y
97109 sudo apt-get install -y cmake clang ninja-build libgtk-3-dev libpulse-dev
98110# - run: flutter config --enable-linux-desktop
99- - run : flutter pub get --verbose
111+ - run : flutter pub get
100112 - run : flutter build linux --verbose
101113 - run : mv build/linux/x64/release/bundle .
102114 - run : cmake -E tar Jcvf fvp_example_linux.tar.xz bundle
@@ -125,7 +137,7 @@ jobs:
125137 with :
126138 distribution : ' zulu'
127139 java-version : ' 17'
128- - run : flutter pub get --verbose
140+ - run : flutter pub get
129141 - run : flutter build apk --verbose
130142 - run : mv ./build/app/outputs/apk/release/app-release.apk fvp_example_android.apk
131143 - name : Upload
0 commit comments