Skip to content

Commit

Permalink
feat(ci): use host gpu acceleration
Browse files Browse the repository at this point in the history
  • Loading branch information
Malinskiy committed Jan 22, 2024
1 parent 16fdf16 commit a760122
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .buildsystem/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ MAINTAINER Anton Malinskiy "[email protected]"
USER root

RUN apt-get update -y && \
apt-get install -y --no-install-recommends locales git curl build-essential jq unzip zip rename openjdk-17-jdk libpulse0 xvfb fluxbox && \
apt-get install -y --no-install-recommends locales git curl build-essential jq unzip zip rename openjdk-17-jdk libpulse0 xvfb fluxbox mesa-utils && \
locale-gen en_US.UTF-8 && \
rm -rf /var/lib/apt/lists/*

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ jobs:
uses: malinskiy/action-android/emulator-run-cmd@release/0.1.6
timeout-minutes: 25
with:
cmd: ./gradlew :adam:integrationTest
cmdOptions: -no-snapshot-save -noaudio -no-boot-anim -cores 4 -memory 3072 -no-window -gpu off -grpc 8554
cmd: export DISPLAY=:1; Xvfb :1 +extension GLX +extension RANDR +extension RENDER +extension XFIXES -screen 0 1024x768x24 &; fluxbox -display ":1.0" &; ./gradlew :adam:integrationTest
cmdOptions: -no-snapshot-save -noaudio -no-boot-anim -cores 4 -memory 3072 -no-window -gpu host -grpc 8554
api: ${{ matrix.api }}
tag: google_apis
abi: x86_64
Expand Down

0 comments on commit a760122

Please sign in to comment.