File tree 1 file changed +25
-5
lines changed
1 file changed +25
-5
lines changed Original file line number Diff line number Diff line change @@ -78,12 +78,32 @@ jobs:
78
78
cd Samples/Beyond.NET.Sample.Native
79
79
./publish_${{ env.SCRIPT_SUFFIX }}
80
80
81
- - name : run Android tests (macOS)
81
+ - name : build Android native (macOS)
82
82
if : " success() && matrix.env.OS == 'macOS'"
83
83
run : |
84
- pushd Samples/Beyond.NET.Sample.Native
84
+ cd Samples/Beyond.NET.Sample.Native
85
85
./publish_android_arm64
86
- popd
87
86
88
- cd Samples/Beyond.NET.Sample.Android
89
- ./test-on-emulator.ps1
87
+ - name : run Android tests (macOS)
88
+ if : " success() && matrix.env.OS == 'macOS'"
89
+ uses : reactivecircus/android-emulator-runner@v2
90
+ with :
91
+ api-level : 31
92
+ arch : arm64-v8a
93
+ target : google_apis
94
+ disable-animations : true
95
+ force-avd-creation : false
96
+ emulator-boot-timeout : 120
97
+ emulator-options : -no-audio -no-boot-anim -no-window -no-snapshot-save -gpu off -camera-back none
98
+ working-directory : Samples/Beyond.NET.Sample.Android
99
+ script : ./gradlew connectedAndroidTest
100
+
101
+ # - name: run Android tests (macOS)
102
+ # if: "success() && matrix.env.OS == 'macOS'"
103
+ # run: |
104
+ # pushd Samples/Beyond.NET.Sample.Native
105
+ # ./publish_android_arm64
106
+ # popd
107
+ #
108
+ # cd Samples/Beyond.NET.Sample.Android
109
+ # ./test-on-emulator.ps1
You can’t perform that action at this time.
0 commit comments