Skip to content

Commit

Permalink
fix: wip
Browse files Browse the repository at this point in the history
  • Loading branch information
limpbrains committed Dec 10, 2023
1 parent a579069 commit 55712be
Showing 1 changed file with 52 additions and 21 deletions.
73 changes: 52 additions & 21 deletions .github/workflows/e2e-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
lima: v0.18.0
colima: v0.5.6
# colima-params: --vm-type=vz --vz-rosetta
colima-params: --cpu 2 --memory 2
colima-params: --cpu 1 --memory 1

# - name: Setup Docker Colima 2
# if: steps.docker1.outcome != 'success'
Expand Down Expand Up @@ -91,6 +91,7 @@ jobs:

- name: Memory
run: |
df -h
top -l 1 | grep -E "^CPU|^Phys"
ps x -o rss,vsz,command | awk 'NR>1 {$1=int($1/1024)"M"; $2=int($2/1024)"M";}{ print ;}'
Expand All @@ -99,12 +100,14 @@ jobs:
with:
api-level: 31
cores: 1
ram-size: 4096M
ram-size: 2048M
heap-size: 512M
disk-size: 2048M
profile: 5.4in FWVGA
avd-name: Pixel_API_31_AOSP
force-avd-creation: false
emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -camera-back none -camera-front none -partition-size 2047
arch: x86
arch: x86_64
script: |
sleep 1
adb root
Expand All @@ -123,6 +126,7 @@ jobs:
- name: Memory
run: |
df -h
top -l 1 | grep -E "^CPU|^Phys"
ps x -o rss,vsz,command | awk 'NR>1 {$1=int($1/1024)"M"; $2=int($2/1024)"M";}{ print ;}'
Expand All @@ -131,12 +135,14 @@ jobs:
with:
api-level: 31
cores: 1
ram-size: 4096M
ram-size: 2048M
heap-size: 512M
disk-size: 2048M
profile: 5.4in FWVGA
avd-name: Pixel_API_31_AOSP
force-avd-creation: false
emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -camera-back none -camera-front none -partition-size 2047
arch: x86
arch: x86_64
script: |
sleep 1
adb root
Expand All @@ -155,6 +161,7 @@ jobs:
- name: Memory
run: |
df -h
top -l 1 | grep -E "^CPU|^Phys"
ps x -o rss,vsz,command | awk 'NR>1 {$1=int($1/1024)"M"; $2=int($2/1024)"M";}{ print ;}'
Expand All @@ -163,12 +170,14 @@ jobs:
with:
api-level: 31
cores: 1
ram-size: 4096M
ram-size: 2048M
heap-size: 512M
disk-size: 2048M
profile: 5.4in FWVGA
avd-name: Pixel_API_31_AOSP
force-avd-creation: false
emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -camera-back none -camera-front none -partition-size 2047
arch: x86
arch: x86_64
script: |
sleep 1
adb root
Expand All @@ -187,6 +196,7 @@ jobs:
- name: Memory
run: |
df -h
top -l 1 | grep -E "^CPU|^Phys"
ps x -o rss,vsz,command | awk 'NR>1 {$1=int($1/1024)"M"; $2=int($2/1024)"M";}{ print ;}'
Expand All @@ -195,12 +205,14 @@ jobs:
with:
api-level: 31
cores: 1
ram-size: 4096M
ram-size: 2048M
heap-size: 512M
disk-size: 2048M
profile: 5.4in FWVGA
avd-name: Pixel_API_31_AOSP
force-avd-creation: false
emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -camera-back none -camera-front none -partition-size 2047
arch: x86
arch: x86_64
script: |
sleep 1
adb root
Expand All @@ -219,6 +231,7 @@ jobs:
- name: Memory
run: |
df -h
top -l 1 | grep -E "^CPU|^Phys"
ps x -o rss,vsz,command | awk 'NR>1 {$1=int($1/1024)"M"; $2=int($2/1024)"M";}{ print ;}'
Expand All @@ -227,12 +240,14 @@ jobs:
with:
api-level: 31
cores: 1
ram-size: 4096M
ram-size: 2048M
heap-size: 512M
disk-size: 2048M
profile: 5.4in FWVGA
avd-name: Pixel_API_31_AOSP
force-avd-creation: false
emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -camera-back none -camera-front none -partition-size 2047
arch: x86
arch: x86_64
script: |
sleep 1
adb root
Expand All @@ -251,6 +266,7 @@ jobs:
- name: Memory
run: |
df -h
top -l 1 | grep -E "^CPU|^Phys"
ps x -o rss,vsz,command | awk 'NR>1 {$1=int($1/1024)"M"; $2=int($2/1024)"M";}{ print ;}'
Expand All @@ -259,12 +275,14 @@ jobs:
with:
api-level: 31
cores: 1
ram-size: 4096M
ram-size: 2048M
heap-size: 512M
disk-size: 2048M
profile: 5.4in FWVGA
avd-name: Pixel_API_31_AOSP
force-avd-creation: false
emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -camera-back none -camera-front none -partition-size 2047
arch: x86
arch: x86_64
script: |
sleep 1
adb root
Expand All @@ -283,6 +301,7 @@ jobs:
- name: Memory
run: |
df -h
top -l 1 | grep -E "^CPU|^Phys"
ps x -o rss,vsz,command | awk 'NR>1 {$1=int($1/1024)"M"; $2=int($2/1024)"M";}{ print ;}'
Expand All @@ -291,12 +310,14 @@ jobs:
with:
api-level: 31
cores: 1
ram-size: 4096M
ram-size: 2048M
heap-size: 512M
disk-size: 2048M
profile: 5.4in FWVGA
avd-name: Pixel_API_31_AOSP
force-avd-creation: false
emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -camera-back none -camera-front none -partition-size 2047
arch: x86
arch: x86_64
script: |
sleep 1
adb root
Expand All @@ -315,6 +336,7 @@ jobs:
- name: Memory
run: |
df -h
top -l 1 | grep -E "^CPU|^Phys"
ps x -o rss,vsz,command | awk 'NR>1 {$1=int($1/1024)"M"; $2=int($2/1024)"M";}{ print ;}'
Expand All @@ -323,12 +345,14 @@ jobs:
with:
api-level: 31
cores: 1
ram-size: 4096M
ram-size: 2048M
heap-size: 512M
disk-size: 2048M
profile: 5.4in FWVGA
avd-name: Pixel_API_31_AOSP
force-avd-creation: false
emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -camera-back none -camera-front none -partition-size 2047
arch: x86
arch: x86_64
script: |
sleep 1
adb root
Expand All @@ -347,6 +371,7 @@ jobs:
- name: Memory
run: |
df -h
top -l 1 | grep -E "^CPU|^Phys"
ps x -o rss,vsz,command | awk 'NR>1 {$1=int($1/1024)"M"; $2=int($2/1024)"M";}{ print ;}'
Expand All @@ -355,12 +380,14 @@ jobs:
with:
api-level: 31
cores: 1
ram-size: 4096M
ram-size: 2048M
heap-size: 512M
disk-size: 2048M
profile: 5.4in FWVGA
avd-name: Pixel_API_31_AOSP
force-avd-creation: false
emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -camera-back none -camera-front none -partition-size 2047
arch: x86
arch: x86_64
script: |
sleep 1
adb root
Expand All @@ -379,6 +406,7 @@ jobs:
- name: Memory
run: |
df -h
top -l 1 | grep -E "^CPU|^Phys"
ps x -o rss,vsz,command | awk 'NR>1 {$1=int($1/1024)"M"; $2=int($2/1024)"M";}{ print ;}'
Expand All @@ -387,12 +415,14 @@ jobs:
with:
api-level: 31
cores: 1
ram-size: 4096M
ram-size: 2048M
heap-size: 512M
disk-size: 2048M
profile: 5.4in FWVGA
avd-name: Pixel_API_31_AOSP
force-avd-creation: false
emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -camera-back none -camera-front none -partition-size 2047
arch: x86
arch: x86_64
script: |
sleep 1
adb root
Expand All @@ -411,6 +441,7 @@ jobs:
- name: Memory
run: |
df -h
top -l 1 | grep -E "^CPU|^Phys"
ps x -o rss,vsz,command | awk 'NR>1 {$1=int($1/1024)"M"; $2=int($2/1024)"M";}{ print ;}'
Expand Down

0 comments on commit 55712be

Please sign in to comment.