Skip to content
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

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.