From e04f556c2a973693348ea0dd8bf790687f4bd866 Mon Sep 17 00:00:00 2001 From: dan sinclair Date: Wed, 14 Nov 2018 17:48:02 -0500 Subject: Add kokoro build files. (#45) This CL adds the build files for Linux {gcc|clang} and Mac clang builds in both Debug and Release mode. Issue #3 --- kokoro/macos-clang-debug/build.sh | 20 ++++++++++++++++++++ kokoro/macos-clang-debug/continuous.cfg | 15 +++++++++++++++ kokoro/macos-clang-debug/presubmit.cfg | 15 +++++++++++++++ 3 files changed, 50 insertions(+) create mode 100644 kokoro/macos-clang-debug/build.sh create mode 100644 kokoro/macos-clang-debug/continuous.cfg create mode 100644 kokoro/macos-clang-debug/presubmit.cfg (limited to 'kokoro/macos-clang-debug') diff --git a/kokoro/macos-clang-debug/build.sh b/kokoro/macos-clang-debug/build.sh new file mode 100644 index 0000000..b345eff --- /dev/null +++ b/kokoro/macos-clang-debug/build.sh @@ -0,0 +1,20 @@ +#!/bin/bash +# Copyright 2018 The Amber Authors. +# +# Licensed 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. + +set -e # fail on error +set -x # display commands + +SCRIPT_DIR=`dirname "$BASH_SOURCE"` +source $SCRIPT_DIR/../scripts/macos/build.sh DEBUG clang diff --git a/kokoro/macos-clang-debug/continuous.cfg b/kokoro/macos-clang-debug/continuous.cfg new file mode 100644 index 0000000..901610f --- /dev/null +++ b/kokoro/macos-clang-debug/continuous.cfg @@ -0,0 +1,15 @@ +# Copyright 2018 The Amber Authors. +# +# Licensed 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. + +build_file: "amber/kokoro/macos-clang-debug/build.sh" diff --git a/kokoro/macos-clang-debug/presubmit.cfg b/kokoro/macos-clang-debug/presubmit.cfg new file mode 100644 index 0000000..901610f --- /dev/null +++ b/kokoro/macos-clang-debug/presubmit.cfg @@ -0,0 +1,15 @@ +# Copyright 2018 The Amber Authors. +# +# Licensed 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. + +build_file: "amber/kokoro/macos-clang-debug/build.sh" -- cgit v1.2.3