Skip to content

Commit 10fa07d

Browse files
committed
Faster CI
1 parent f531eea commit 10fa07d

1 file changed

Lines changed: 15 additions & 4 deletions

File tree

.github/workflows/Android-CI-Espresso.yml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
os: [ macOS-13 ]
19-
api: [ 28 ]
18+
os: [ ubuntu-22.04 ]
19+
api: [ 34 ]
2020
abi: [ x86_64 ]
2121
tag: [ 'default' ]
2222
java_version: [ 17 ]
@@ -36,6 +36,17 @@ jobs:
3636
with:
3737
distribution: 'adopt'
3838
java-version: ${{ matrix.java_version }}
39+
- name: kvm support
40+
run: |
41+
egrep -c '(vmx|svm)' /proc/cpuinfo
42+
id
43+
sudo adduser $USER kvm
44+
sudo chown -R $USER /dev/kvm
45+
id
46+
- name: prepare
47+
run: |
48+
sudo apt-get update && sudo apt-get install -y exiftool imagemagick xdg-utils libimage-exiftool-perl zsh jq xorg
49+
# brew install exiftool imagemagick
3950
- uses: gradle/wrapper-validation-action@v3
4051
- name: Install Android SDK
4152
uses: hannesa2/action-android/install-sdk@0.1.16.7
@@ -45,8 +56,8 @@ jobs:
4556
CRYPT_PASS: ${{ secrets.CRYPT_PASS }}
4657
- name: Build project
4758
run: ./gradlew assembleDebug
48-
- name: Run tests
49-
run: ./gradlew test
59+
- name: Test publish to jitpack.io
60+
run: ./gradlew :LogcatCoreLib:assembleRelease :LogcatCoreLib:publishToMavenLocal :LogcatCoreUI:assembleRelease :LogcatCoreUI:publishToMavenLocal :LogcatCrashlyticLib:assembleRelease :LogcatCrashlyticLib:publishToMavenLocal :LogcatCountlyLib:assembleRelease :LogcatCountlyLib:publishToMavenLocal
5061
- name: Run instrumentation tests
5162
uses: hannesa2/action-android/emulator-run-cmd@0.1.16.7
5263
with:

0 commit comments

Comments
 (0)