Skip to content

Commit dd9939f

Browse files
committed
added circleci
1 parent a918776 commit dd9939f

File tree

9 files changed

+37
-0
lines changed

9 files changed

+37
-0
lines changed

.circleci/config.yml

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
version: 2.1
2+
3+
jobs:
4+
test:
5+
resource_class: buildpulse/bp-ubuntu-latest-x64-4x
6+
docker:
7+
- image: cimg/android:2025.01
8+
steps:
9+
- checkout
10+
11+
- run:
12+
name: Set up JDK 17
13+
command: |
14+
sudo apt-get update
15+
sudo apt-get install openjdk-17-jdk
16+
17+
- run:
18+
name: Validate Gradle Wrapper
19+
command: ./gradlew wrapper --gradle-version $(cat gradle/wrapper/gradle-wrapper.properties | grep distributionUrl | cut -d'=' -f2 | cut -d'/' -f5)
20+
21+
- run:
22+
name: Build with Gradle
23+
command: ./gradlew qa
24+
25+
- run:
26+
name: Archive reports for failed build
27+
command: |
28+
if [ $? -ne 0 ]; then
29+
mkdir -p ~/reports
30+
cp -r */build/reports/* ~/reports/
31+
fi
32+
33+
workflows:
34+
version: 2
35+
build-workflow:
36+
jobs:
37+
- test
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)