You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by st...@apache.org on 2021/01/22 04:13:31 UTC
[openwhisk-intellij-plugin] branch master updated: Add CI pipeline
(#7)
This is an automated email from the ASF dual-hosted git repository.
style95 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk-intellij-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new b18ca88 Add CI pipeline (#7)
b18ca88 is described below
commit b18ca88635ccb8dd4118308a4d35d56ffb3fc99f
Author: 김건희 <ki...@gmail.com>
AuthorDate: Fri Jan 22 13:13:21 2021 +0900
Add CI pipeline (#7)
---
.github/workflows/compatibility.yml | 66 +++++++++++++++++++++++++++++++++++++
.github/workflows/gradle.yml | 40 ++++++++++++++++++++++
2 files changed, 106 insertions(+)
diff --git a/.github/workflows/compatibility.yml b/.github/workflows/compatibility.yml
new file mode 100644
index 0000000..710607e
--- /dev/null
+++ b/.github/workflows/compatibility.yml
@@ -0,0 +1,66 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: IntelliJ Platform Plugin Compatibility
+
+on:
+ push:
+ branches: [ master ]
+ pull_request:
+ branches: [ master ]
+
+jobs:
+ compatibility:
+ name: Ensure plugin compatibility against 2018.1 ~ 2020.3 for IDEA Community, IDEA Ultimate
+ runs-on: ubuntu-latest
+ steps:
+ - name: Check out repository
+ uses: actions/checkout@v1
+
+ - name: Setup Java 11
+ uses: actions/setup-java@v1
+ with:
+ java-version: 11
+
+ - name: Build the plugin using Gradle
+ run: ./gradlew buildPlugin
+
+ - name: Verify Plugin on IntelliJ Platforms
+ id: verify
+ uses: ChrisCarini/intellij-platform-plugin-verifier-action@latest
+ with:
+ ide-versions: |
+ ideaIC:2018.1
+ ideaIC:2018.2
+ ideaIC:2018.3.6
+ ideaIC:2019.1.4
+ ideaIC:2019.3
+ ideaIC:2020.1
+ ideaIC:2020.2
+ ideaIC:2020.3
+ ideaIU:2018.1
+ ideaIU:2018.2
+ ideaIU:2018.3.6
+ ideaIU:2019.1.4
+ ideaIU:2019.3
+ ideaIU:2020.1
+ ideaIU:2020.2
+ ideaIU:2020.3
+ - name: Get log file path and print contents
+ run: |
+ echo "The verifier log file [${{steps.verify.outputs.verification-output-log-filename}}] contents : " ;
+ cat ${{steps.verify.outputs.verification-output-log-filename}}
diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml
new file mode 100644
index 0000000..cee8c15
--- /dev/null
+++ b/.github/workflows/gradle.yml
@@ -0,0 +1,40 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: Java CI with Gradle
+
+on:
+ push:
+ branches: [ master ]
+ pull_request:
+ branches: [ master ]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up JDK 11
+ uses: actions/setup-java@v1
+ with:
+ java-version: 11
+ - name: Grant execute permission for gradlew
+ run: chmod +x gradlew
+ - name: Build with Gradle
+ run: ./gradlew build