Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d244124c authored by Romain Hunault's avatar Romain Hunault 🚴🏻
Browse files

Fix the RAM to use

parent dc01233a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@ git config --global user.email $USER_MAIL
# Define memory to use for jack (depending of runner tag)
if [[ -n ${CI_RUNNER_TAGS} ]]
then
  jack_memory=$(echo ${CI_RUNNER_TAGS} | grep GB | sed 's/.* \([0-9]*G\)B.*/\1/')
  jack_memory=$(echo ${CI_RUNNER_TAGS} | grep GB | sed 's/.*ram:\([0-9]*G\)B.*/\1/')
  if [ -n ${jack_memory} ]
  then
    ANDROID_JACK_VM_ARGS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx"${jack_memory}