Skip to content

Commit d136a65

Browse files
committed
added circleci
1 parent a918776 commit d136a65

File tree

9 files changed

+43
-0
lines changed

9 files changed

+43
-0
lines changed

Diff for: .circleci/config.yml

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
version: 2.1
2+
3+
jobs:
4+
build:
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:
36+
jobs:
37+
- build:
38+
filters:
39+
branches:
40+
only:
41+
- main
42+
- /^7\.\d+\.\d+/
43+
File renamed without changes.
File renamed without changes.
File renamed without changes.
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)