You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by xu...@apache.org on 2023/09/13 16:00:28 UTC
[incubator-opendal] branch improve-java-ci created (now c27ca54d9)
This is an automated email from the ASF dual-hosted git repository.
xuanwo pushed a change to branch improve-java-ci
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git
at c27ca54d9 feat: Enable release when OPENDAL_RELEASE is on
This branch includes the following new commits:
new c2f02ed89 Disable php build
new c27ca54d9 feat: Enable release when OPENDAL_RELEASE is on
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[incubator-opendal] 02/02: feat: Enable release when OPENDAL_RELEASE is on
Posted by xu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
xuanwo pushed a commit to branch improve-java-ci
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git
commit c27ca54d99004617169a8840a914b21a1eca9cf6
Author: Xuanwo <gi...@xuanwo.io>
AuthorDate: Thu Sep 14 00:00:07 2023 +0800
feat: Enable release when OPENDAL_RELEASE is on
Signed-off-by: Xuanwo <gi...@xuanwo.io>
---
.github/workflows/release_java.yml | 3 +++
bindings/java/tools/build.py | 6 +++++-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/release_java.yml b/.github/workflows/release_java.yml
index 4b9223f6c..024b5eb63 100644
--- a/.github/workflows/release_java.yml
+++ b/.github/workflows/release_java.yml
@@ -25,6 +25,9 @@ on:
- 'v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+'
workflow_dispatch:
+env:
+ OPENDAL_RELEASE: on
+
jobs:
stage-snapshot:
runs-on: ${{ matrix.os }}
diff --git a/bindings/java/tools/build.py b/bindings/java/tools/build.py
index bae9f8b78..499f7307e 100755
--- a/bindings/java/tools/build.py
+++ b/bindings/java/tools/build.py
@@ -54,7 +54,11 @@ if __name__ == '__main__':
parser.add_argument('--classifier', type=str, required=True)
args = parser.parse_args()
- cmd = ['cargo', 'build', '--color=always', '--release']
+ cmd = ['cargo', 'build', '--color=always']
+
+ # Only enable release build while OPENDAL_RELEASE is on.
+ if os.environ.get('OPENDAL_RELEASE') == 'on':
+ cmd.append('--release')
target = classifier_to_target(args.classifier)
if target:
[incubator-opendal] 01/02: Disable php build
Posted by xu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
xuanwo pushed a commit to branch improve-java-ci
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git
commit c2f02ed8926fc0c921913851a48f45b474001396
Author: Xuanwo <gi...@xuanwo.io>
AuthorDate: Wed Sep 13 23:56:18 2023 +0800
Disable php build
Signed-off-by: Xuanwo <gi...@xuanwo.io>
---
.github/workflows/bindings_php.yml | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/.github/workflows/bindings_php.yml b/.github/workflows/bindings_php.yml
index 079af61cf..798050e03 100644
--- a/.github/workflows/bindings_php.yml
+++ b/.github/workflows/bindings_php.yml
@@ -18,17 +18,17 @@
name: Bindings PHP CI
on:
- push:
- branches:
- - main
- tags:
- - '*'
- pull_request:
- branches:
- - main
- paths:
- - "bindings/php/**"
- - ".github/workflows/bindings_php.yml"
+# push:
+# branches:
+# - main
+# tags:
+# - '*'
+# pull_request:
+# branches:
+# - main
+# paths:
+# - "bindings/php/**"
+# - ".github/workflows/bindings_php.yml"
workflow_dispatch:
concurrency: