mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-15 11:25:26 +00:00
ci: Use gradle clean on gradle builds
This commit is contained in:
parent
e7d658747a
commit
1211a51d91
|
@ -391,8 +391,8 @@ android:outOfProcess:
|
|||
- .gradlehome/caches
|
||||
|
||||
script:
|
||||
- rm -rf build
|
||||
- cp .gitlab-ci/local.properties .
|
||||
- ./gradlew clean
|
||||
- ./gradlew assembleOutOfProcessDebug
|
||||
artifacts:
|
||||
paths:
|
||||
|
@ -414,8 +414,8 @@ android:inProcess:
|
|||
- .gradlehome/caches
|
||||
|
||||
script:
|
||||
- rm -rf build
|
||||
- cp .gitlab-ci/local.properties .
|
||||
- ./gradlew clean
|
||||
- ./gradlew assembleInProcessDebug
|
||||
artifacts:
|
||||
paths:
|
||||
|
|
|
@ -158,11 +158,11 @@ reuse:
|
|||
{% endif %}
|
||||
|
||||
script:
|
||||
- rm -rf build
|
||||
|
||||
{#- regular or NDK cmake builds -#}
|
||||
{%- if "cmake" in job.name or "ndk" in job.name %}
|
||||
|
||||
- rm -rf build
|
||||
- cmake -GNinja -B build -S . {{- make_cmake_args(job.cmake_defines) }}
|
||||
- echo "Build Options:"; grep "^XRT_" build/CMakeCache.txt
|
||||
- ninja -C build
|
||||
|
@ -171,6 +171,7 @@ reuse:
|
|||
{%- elif "android" in job.name %}
|
||||
|
||||
- cp .gitlab-ci/local.properties .
|
||||
- ./gradlew clean
|
||||
- ./gradlew {{ job.target }}
|
||||
|
||||
{%- else %}
|
||||
|
|
Loading…
Reference in a new issue