This repository has been archived by the owner on Oct 22, 2023. It is now read-only.
/
.appveyor.yml
44 lines (38 loc) · 2.06 KB
/
.appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
version: "{build}"
image: Visual Studio 2022
skip_tags: true
environment:
GRADLE_OPTS: "-Dorg.gradle.internal.launcher.welcomeMessageEnabled=false -Dorg.gradle.daemon=false"
GRADLE_USER_HOME: "C:\\gradle"
JAVA_HOME: "C:\\Program Files\\Java\\jdk17"
install:
- set PATH=%JAVA_HOME%\bin;%PATH%
- ver
- java -version
- python --version
- bash --version
# Symlinks aren't created correctly by default on Windows - see https://github.com/appveyor/ci/issues/650#issuecomment-186592582.
- git config core.symlinks true
- git reset --hard
build_script:
- ps: ./ci/Enable-LinuxContainers.ps1
- docker version
- ./gradlew journeyTest
after_test:
- ./gradlew --stop
- ./gradlew --status
- ps: Remove-Item -ErrorAction SilentlyContinue ${env:GRADLE_USER_HOME}\caches\modules-2\modules-2.lock
- ps: Remove-Item -ErrorAction SilentlyContinue -Recurse ${env:GRADLE_USER_HOME}\caches\*\plugin-resolution\
- ps: Remove-Item -ErrorAction SilentlyContinue -Recurse ${env:GRADLE_USER_HOME}\caches\*\scripts\
- ps: Remove-Item -ErrorAction SilentlyContinue -Recurse ${env:GRADLE_USER_HOME}\caches\*\scripts-remapped\
- ps: Remove-Item -ErrorAction SilentlyContinue -Recurse ${env:GRADLE_USER_HOME}\caches\*\fileHashes\
- ps: Remove-Item -ErrorAction SilentlyContinue ${env:GRADLE_USER_HOME}\caches\*\fileContent\*.lock
- ps: Remove-Item -ErrorAction SilentlyContinue ${env:GRADLE_USER_HOME}\caches\*\javaCompile\*.lock
- ps: Remove-Item -ErrorAction SilentlyContinue ${env:GRADLE_USER_HOME}\caches\*\executionHistory\*.lock
- ps: Remove-Item -ErrorAction SilentlyContinue ${env:GRADLE_USER_HOME}\caches\*\generated-gradle-jars\*.lock
- ps: Remove-Item -ErrorAction SilentlyContinue ${env:GRADLE_USER_HOME}\caches\jars-*\*.lock
- ps: Remove-Item -ErrorAction SilentlyContinue ${env:GRADLE_USER_HOME}\caches\journal-1\file-access.bin
- ps: Remove-Item -ErrorAction SilentlyContinue ${env:GRADLE_USER_HOME}\caches\journal-1\*.lock
cache:
- '%GRADLE_USER_HOME%\caches'
- '%GRADLE_USER_HOME%\wrapper'