File tree 3 files changed +58
-126
lines changed
3 files changed +58
-126
lines changed Original file line number Diff line number Diff line change 8
8
# repositories than needed this downstream check for GraalVM native image
9
9
# compilation.
10
10
name : downstream
11
+ env :
12
+ SHOWCASE_VERSION : 0.25.0
11
13
jobs :
12
14
# GraalVM job ensures the compatibility of GraaVM version
13
15
graalvm :
17
19
matrix :
18
20
graalvm : [22.3.0]
19
21
java : [11, 17]
20
- repo :
21
- # GAPIC library that doesn't use a real GCP project in integration tests
22
- - orgpolicy
23
22
steps :
24
23
- uses : actions/checkout@v2
25
24
- uses : stCarolas/setup-maven@v4
35
34
# Example: https://github.com/googleapis/testing-infra-docker/pull/195
36
35
graalvm-version : ${{matrix.graalvm}}
37
36
native-image : true
38
- - run : java -version
39
- - run : sudo apt-get update -y
40
- - run : sudo apt-get install libxml2-utils
41
- - run : .kokoro/downstream-client-library-check.sh ${{matrix.repo}} graalvm
37
+ - name : Install maven modules
38
+ run : |
39
+ mvn install -B -ntp -DskipTests -Dclirr.skip -Dcheckstyle.skip
40
+ - name : Install system dependencies
41
+ run : |
42
+ sudo apt-get update
43
+ sudo apt-get install -y curl unzip
44
+ - name : Install showcase server
45
+ run : |
46
+ sudo mkdir -p /usr/src/showcase
47
+ sudo chown -R ${USER} /usr/src/
48
+ curl --location https://github.com/googleapis/gapic-showcase/releases/download/v${SHOWCASE_VERSION}/gapic-showcase-${SHOWCASE_VERSION}-linux-amd64.tar.gz --output /usr/src/showcase/showcase-${SHOWCASE_VERSION}-linux-amd64.tar.gz
49
+ cd /usr/src/showcase/
50
+ tar -xf showcase-*
51
+ ./gapic-showcase run &
52
+ cd -
53
+ - name : Run Showcase tests with GraalVM
54
+ working-directory : showcase
55
+ run : |
56
+ java -version
57
+ sudo apt-get update -y
58
+ sudo apt-get install libxml2-utils
59
+ mvn test -Pnative,-showcase -Denforcer.skip=true -ntp -B
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 63
63
<module >proto-gapic-showcase-v1beta1</module >
64
64
</modules >
65
65
66
- <build >
67
- <plugins >
68
- <plugin >
69
- <groupId >org.apache.maven.plugins</groupId >
70
- <artifactId >maven-surefire-plugin</artifactId >
71
- <configuration >
72
- <skip >${skipUnitTests} </skip >
73
- </configuration >
74
- </plugin >
75
- <plugin >
76
- <groupId >org.apache.maven.plugins</groupId >
77
- <artifactId >maven-failsafe-plugin</artifactId >
78
- <configuration >
79
- <forkCount >1C</forkCount >
80
- <reuseForks >true</reuseForks >
81
- </configuration >
82
- </plugin >
83
- <plugin >
84
- <groupId >org.codehaus.mojo</groupId >
85
- <artifactId >flatten-maven-plugin</artifactId >
86
- </plugin >
87
- </plugins >
88
- </build >
66
+ <profiles >
67
+ <profile >
68
+ <id >showcase</id >
69
+ <activation >
70
+ <activeByDefault >true</activeByDefault >
71
+ </activation >
72
+ <build >
73
+ <plugins >
74
+ <plugin >
75
+ <groupId >org.apache.maven.plugins</groupId >
76
+ <artifactId >maven-surefire-plugin</artifactId >
77
+ <configuration >
78
+ <skip >${skipUnitTests} </skip >
79
+ </configuration >
80
+ </plugin >
81
+ <plugin >
82
+ <groupId >org.apache.maven.plugins</groupId >
83
+ <artifactId >maven-failsafe-plugin</artifactId >
84
+ <configuration >
85
+ <forkCount >1C</forkCount >
86
+ <reuseForks >true</reuseForks >
87
+ </configuration >
88
+ </plugin >
89
+ <plugin >
90
+ <groupId >org.codehaus.mojo</groupId >
91
+ <artifactId >flatten-maven-plugin</artifactId >
92
+ </plugin >
93
+ </plugins >
94
+ </build >
95
+ </profile >
96
+
97
+ </profiles >
98
+
89
99
</project >
You can’t perform that action at this time.
0 commit comments