Skip to content

point to bp-ubuntu-latest-x64-4x #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
version: 2.1

jobs:
test:
resource_class: buildpulse/bp-ubuntu-latest-x64-4x
docker:
- image: cimg/android:2025.01
steps:
- checkout

- run:
name: Set up JDK 17
command: |
sudo apt-get update
sudo apt-get install openjdk-17-jdk

- restore_cache:
keys:
- my-cache-2

- run:
name: Build with Gradle
command: ./gradlew qa

- run:
name: Archive reports for failed build
command: |
if [ $? -ne 0 ]; then
mkdir -p ~/reports
cp -r */build/reports/* ~/reports/
fi

workflows:
version: 2
build-workflow:
jobs:
- test:
post-steps: # steps to run after steps defined in the job bar
- save_cache:
when: always
key: my-cache-2
paths:
- .gradle/
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ permissions:
jobs:
build:

runs-on: ubuntu-latest-8-cores
runs-on: bp-ubuntu-latest-x64-4x

steps:
- uses: actions/checkout@v3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ env:
jobs:
assemble-base:
if: ${{ github.repository != 'signalapp/Signal-Android' }}
runs-on: ubuntu-latest-8-cores
runs-on: bp-ubuntu-latest-x64-4x 

steps:
- uses: actions/checkout@v3
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions:
jobs:
build:

runs-on: ubuntu-latest
runs-on: bp-ubuntu-latest-x64-4x

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
org.gradle.jvmargs=-Xmx12g -Xms256m -XX:MaxMetaspaceSize=1g
org.gradle.jvmargs=-Xmx2g -Xms256m -XX:MaxMetaspaceSize=1g
android.useAndroidX=true
android.experimental.androidTest.numManagedDeviceShards=4
# We never want to use auto-provisioning, as it breaks reproducible builds.
Expand Down
2 changes: 1 addition & 1 deletion gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ APP_NAME="Gradle"
APP_BASE_NAME=${0##*/}

# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
DEFAULT_JVM_OPTS='"-Xmx14g" "-Xms64m"'

# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum
Expand Down