Skip to content

Commit 53c8d7f

Browse files
Add no_default_profile_installed testcase
1 parent b4be5b1 commit 53c8d7f

16 files changed

Lines changed: 510 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
testcase:
2828
- sample_library
2929
- cmake_layout
30+
- no_default_profile_installed
3031
steps:
3132
- uses: actions/checkout@v4
3233
- uses: actions/setup-java@v4
@@ -43,6 +44,8 @@ jobs:
4344
- run: pip install conan
4445

4546
- run: conan profile detect
47+
if: ${{ matrix.testcase != 'no_default_profile_installed' }}
48+
4649
- run: conan profile list
4750

4851
- run: ./gradlew assemble

tests/clean.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,8 @@ rm -r $BASEDIR/cmake_layout/.gradle
1212
rm -r $BASEDIR/cmake_layout/lib/build
1313
rm -r $BASEDIR/cmake_layout/lib/.cxx
1414
rm -r $BASEDIR/cmake_layout/lib/CMakeUserPresets.json
15+
16+
rm -r $BASEDIR/no_default_profile_installed/.gradle
17+
rm -r $BASEDIR/no_default_profile_installed/lib/build
18+
rm -r $BASEDIR/no_default_profile_installed/lib/.cxx
19+
rm -r $BASEDIR/no_default_profile_installed/lib/CMakeUserPresets.json
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// Top-level build file where you can add configuration options common to all sub-projects/modules.
2+
plugins {
3+
id 'com.android.library' version '8.5.1' apply false
4+
id 'app.opendocument.conanandroidgradleplugin' version "0.9.1" apply false
5+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Project-wide Gradle settings.
2+
# IDE (e.g. Android Studio) users:
3+
# Gradle settings configured through the IDE *will override*
4+
# any settings specified in this file.
5+
# For more details on how to configure your build environment visit
6+
# http://www.gradle.org/docs/current/userguide/build_environment.html
7+
# Specifies the JVM arguments used for the daemon process.
8+
# The setting is particularly useful for tweaking memory settings.
9+
org.gradle.jvmargs=-Xmx1536m
10+
# When configured, Gradle will run in incubating parallel mode.
11+
# This option should only be used with decoupled projects. More details, visit
12+
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
13+
# org.gradle.parallel=true
14+
android.useAndroidX=true
Binary file not shown.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
distributionBase=GRADLE_USER_HOME
2+
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
4+
networkTimeout=10000
5+
validateDistributionUrl=true
6+
zipStoreBase=GRADLE_USER_HOME
7+
zipStorePath=wrapper/dists

tests/no_default_profile_installed/gradlew

Lines changed: 252 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)