Skip to content

Commit

Permalink
Merge pull request #636 from MikeOrtiz/FasterCI
Browse files Browse the repository at this point in the history
Faster CI on Ubuntu
  • Loading branch information
hannesa2 authored Jan 17, 2025
2 parents a7a730d + e39570d commit 0d7f0ae
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/Android-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ macOS-13 ]
os: [ ubuntu-22.04 ]
api: [ 28 ]
tag: [ default ]
abi: [ x86_64 ]
Expand All @@ -23,8 +23,17 @@ jobs:
with:
fetch-depth: 0
submodules: true
- name: kvm support
run: |
egrep -c '(vmx|svm)' /proc/cpuinfo
id
sudo adduser $USER kvm
sudo chown -R $USER /dev/kvm
id
- name: prepare
run: brew install exiftool imagemagick
run: |
sudo apt-get update && sudo apt-get install -y exiftool imagemagick xdg-utils libimage-exiftool-perl zsh jq xorg
# brew install exiftool imagemagick
- name: Install JDK ${{ matrix.java_version }}
uses: actions/setup-java@v4
with:
Expand Down Expand Up @@ -64,7 +73,9 @@ jobs:
- name: Compare screenshots
run: |
ls -ls app/build/outputs/connected_android_test_additional_output/debugAndroidTest/connected
cp app/build/outputs/connected_android_test_additional_output/debugAndroidTest/connected/emulator\(AVD\)\ -\ 9/* screenshotsToCompare
cp app/build/outputs/connected_android_test_additional_output/debugAndroidTest/connected/emulator-5554\ -\ 9/* screenshotsToCompare
export DISPLAY=:99
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 &
./screenShotCompare.sh
- name: Archive screenshots diffs
if: ${{ always() }}
Expand Down
Binary file modified screenshotsToCompare/MainSmokeTest_testAnimateZoom.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshotsToCompare/TouchTest_testSingleTouch-touch1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshotsToCompare/TouchTest_testSingleTouch-touch2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshotsToCompare/ZoomTest_zoom-1-init.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshotsToCompare/ZoomTest_zoom-2-reset.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshotsToCompare/ZoomTest_zoom-3-zoom.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshotsToCompare/ZoomTest_zoom-4-end.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0d7f0ae

Please sign in to comment.