mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-11 18:29:05 +01:00
Add CI stage for testing reproducibility
This commit is contained in:
@@ -11,10 +11,20 @@ before_script:
|
|||||||
|
|
||||||
test:
|
test:
|
||||||
script:
|
script:
|
||||||
- ./gradlew animalSnifferMain animalSnifferTest
|
- ./gradlew --no-daemon animalSnifferMain animalSnifferTest
|
||||||
- ./gradlew test
|
- ./gradlew --no-daemon test
|
||||||
|
|
||||||
after_script:
|
after_script:
|
||||||
# this file changes every time but should not be cached
|
# these file change every time but should not be cached
|
||||||
- rm -f $GRADLE_USER_HOME/caches/modules-2/modules-2.lock
|
- rm -f $GRADLE_USER_HOME/caches/modules-2/modules-2.lock
|
||||||
- rm -fr $GRADLE_USER_HOME/caches/*/plugin-resolution/
|
- rm -fr $GRADLE_USER_HOME/caches/*/plugin-resolution/
|
||||||
|
|
||||||
|
test_reproducible:
|
||||||
|
image: briar/reproducer:latest
|
||||||
|
script:
|
||||||
|
- cd .. && mv briar /opt/briar-reproducer/
|
||||||
|
- cd /opt/briar-reproducer
|
||||||
|
- ./reproduce.py ${CI_COMMIT_REF_NAME}
|
||||||
|
only:
|
||||||
|
- tags
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user