You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bookkeeper.apache.org by eo...@apache.org on 2022/06/01 11:09:20 UTC
[bookkeeper] branch master updated: [ci] [build] add macos build check (#3301)
This is an automated email from the ASF dual-hosted git repository.
eolivelli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git
The following commit(s) were added to refs/heads/master by this push:
new 8eb26dbeb0 [ci] [build] add macos build check (#3301)
8eb26dbeb0 is described below
commit 8eb26dbeb0988d04136d63805eccd9d466d309b9
Author: ZhangJian He <sh...@gmail.com>
AuthorDate: Wed Jun 1 19:09:14 2022 +0800
[ci] [build] add macos build check (#3301)
---
.github/workflows/macos-build.yml | 49 +++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
diff --git a/.github/workflows/macos-build.yml b/.github/workflows/macos-build.yml
new file mode 100644
index 0000000000..5d16a6e336
--- /dev/null
+++ b/.github/workflows/macos-build.yml
@@ -0,0 +1,49 @@
+#
+# 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: Build with macos on JDK 11
+
+on:
+ push:
+ pull_request:
+ branches:
+ - master
+ - branch-*
+ paths-ignore:
+ - 'site3/**'
+
+jobs:
+ test:
+ runs-on: macos-latest
+ timeout-minutes: 30
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v3
+
+ - name: Tune Runner VM
+ uses: ./.github/actions/tune-runner-vm
+
+ - name: Set up JDK 11
+ uses: actions/setup-java@v3
+ with:
+ distribution: 'temurin'
+ java-version: 11
+
+ - name: mvn package
+ run: mvn clean package -DskipTests