File tree Expand file tree Collapse file tree 8 files changed +29
-14
lines changed
src/main/resources/META-INF Expand file tree Collapse file tree 8 files changed +29
-14
lines changed Original file line number Diff line number Diff line change 94
94
./docker/action-scripts/build-vsix.sh
95
95
chmod +x docker/action-scripts/integration-tests.sh
96
96
./docker/action-scripts/integration-tests.sh
97
+ - name : Setup Java for building CLion plugin
98
+ uses : actions/setup-java@v3
99
+ with :
100
+ distribution : zulu
101
+ java-version : 11
97
102
- name : Run CLion integration tests
98
103
run : |
99
104
chmod +x docker/action-scripts/runClionIntegrationTests.sh
Original file line number Diff line number Diff line change 65
65
run : |
66
66
chmod +x docker/action-scripts/build-vsix.sh
67
67
./docker/action-scripts/build-vsix.sh
68
+ - name : Setup Java for building CLion plugin
69
+ uses : actions/setup-java@v3
70
+ with :
71
+ distribution : zulu
72
+ java-version : 11
73
+ - name : build CLion plugin
74
+ run : |
75
+ chmod +x docker/action-scripts/build-clion-plugin.sh
76
+ ./docker/action-scripts/build-clion-plugin.sh
68
77
- name : build UTBot
69
78
run : |
70
79
chmod +x docker/action-scripts/build-utbot.sh
Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ val grpcKotlinVersion by extra("1.1.0")
15
15
val platformType: String by project
16
16
val platformVersion: String by project
17
17
18
+ val pluginVersion: String by extra(System .getenv(" VERSION" ) ? : properties(" pluginVersion" ))
19
+
18
20
buildscript {
19
21
val protobufPlugInVersion by extra(" 0.8.17" )
20
22
val kotlinVersion by extra(" 1.5.30" )
@@ -125,7 +127,7 @@ idea {
125
127
}
126
128
127
129
group = properties(" pluginGroup" )
128
- version = properties( " pluginVersion" )
130
+ version = pluginVersion
129
131
130
132
// Configure project's dependencies
131
133
repositories {
@@ -206,7 +208,8 @@ tasks {
206
208
}
207
209
208
210
patchPluginXml {
209
- version.set(properties(" pluginVersion" ))
211
+ println (" plugin version $pluginVersion " )
212
+ version.set(pluginVersion)
210
213
sinceBuild.set(properties(" pluginSinceBuild" ))
211
214
untilBuild.set(properties(" pluginUntilBuild" ))
212
215
Original file line number Diff line number Diff line change 3
3
4
4
pluginGroup = org.utbot.cpp.clion.plugin
5
5
pluginName = UTBotCppClion
6
+
7
+ # development version. For releases version is taken during build from enviroment variable VERSION
8
+ # see publish_utbot.yaml and patchPluginXml task in build.gradle.kts
6
9
pluginVersion = 0.0.1
7
10
8
11
# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
Original file line number Diff line number Diff line change 3
3
<id >org.utbot.cpp.clion.plugin</id >
4
4
<name >UTBotCppClion</name >
5
5
<vendor >vol0n</vendor >
6
- <version >0.0.1</version >
7
6
8
7
<depends >com.intellij.modules.platform</depends >
9
8
<depends >com.intellij.modules.clion.ide</depends >
17
16
implementationClass =" org.utbot.cpp.clion.plugin.ui.testsResults.UTBotTestRunLineMarkerProvider" />
18
17
<projectService serviceImplementation =" org.utbot.cpp.clion.plugin.settings.UTBotAllProjectSettings" />
19
18
<projectService serviceImplementation =" org.utbot.cpp.clion.plugin.client.ClientManager" />
20
- <applicationService serviceImplementation =" org.utbot.cpp.clion.plugin.settings.UTBotPluginSpecificSettings" />
21
19
<coverageEngine implementation =" org.utbot.cpp.clion.plugin.coverage.UTBotCoverageEngine" />
22
20
<postStartupActivity implementation =" org.utbot.cpp.clion.plugin.UTBotStartupActivity" />
23
21
<projectConfigurable parentId =" tools" instance =" org.utbot.cpp.clion.plugin.settings.UTBotConfigurable"
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ set -e
4
+
5
+ cd clion-plugin
6
+ ./gradlew assemble
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ cp -a docker/release_distribution_scripts/. $UTBOT_DISTR_FOLDER/
14
14
echo $VERSION > $ARTIFACT_DIR /version.txt
15
15
16
16
mv vscode-plugin/* .vsix $ARTIFACT_DIR /utbot_plugin.vsix
17
+ mv clion-plugin/build/distributions/* .zip $ARTIFACT_DIR /clion_plugin.zip
17
18
mv docker/unpack_and_run_utbot.sh $ARTIFACT_DIR /unpack_and_run_utbot.sh
18
19
19
20
cd $ARTIFACT_DIR
Original file line number Diff line number Diff line change @@ -8,16 +8,6 @@ sudo apt-get update -y
8
8
# install font config. Without it java.awt will throw, and ide will exit.
9
9
apt-get install libfreetype6 fontconfig fonts-dejavu -y
10
10
11
- # install java zulu 11 distribution
12
- sudo apt update -y
13
- sudo apt install dirmngr --install-recommends -y
14
- sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0xB1998361219BD9C9
15
- sudo apt-add-repository ' deb http://repos.azulsystems.com/ubuntu stable main' -y
16
-
17
- sudo apt update -y
18
- sudo apt install zulu-11 -y
19
-
20
-
21
11
set -e
22
12
23
13
./server/build/utbot server > /dev/null 2>&1 &
You can’t perform that action at this time.
0 commit comments