kokoro: remove old kokoro scripts and job configs Each config is in its own dir, often delegating to a common kokoro/scripts file. Bug: crbug.com/490434064
diff --git a/kokoro/android-release/build-docker.sh b/kokoro/android-release/build-docker.sh deleted file mode 100755 index a4fc11c..0000000 --- a/kokoro/android-release/build-docker.sh +++ /dev/null
@@ -1,60 +0,0 @@ -#!/bin/bash - -# Copyright (C) 2017-2022 Google Inc. -# -# 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. -# -# Android Build Script. - - -# Fail on any error. -set -e - -. /bin/using.sh # Declare the bash `using` function for configuring toolchains. - -# Display commands being run. -set -x - -using cmake-3.31.2 -using ninja-1.10.0 -using ndk-r27c # Sets ANDROID_NDK_HOME, pointing at the NDK's root dir - -cd $ROOT_DIR -./utils/git-sync-deps - -mkdir build -cd $ROOT_DIR/build - -# Invoke the build. -BUILD_SHA=${KOKORO_GITHUB_COMMIT:-$KOKORO_GITHUB_PULL_REQUEST_COMMIT} -echo $(date): Starting build... -cmake \ - -GNinja \ - -DCMAKE_MAKE_PROGRAM=ninja \ - -DCMAKE_BUILD_TYPE=Release \ - -DANDROID_ABI="$TARGET_ARCH" \ - -DSHADERC_SKIP_TESTS=ON \ - -DSPIRV_SKIP_TESTS=ON \ - -DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK_HOME/build/cmake/android.toolchain.cmake \ - -DANDROID_NDK=$ANDROID_NDK_HOME .. - -echo $(date): Build glslang library... -ninja glslang - -echo $(date): Build everything... -ninja - -echo $(date): Check Shaderc for copyright notices... -ninja check-copyright - -echo $(date): Build completed.
diff --git a/kokoro/android-release/build.sh b/kokoro/android-release/build.sh deleted file mode 100755 index 86ce102..0000000 --- a/kokoro/android-release/build.sh +++ /dev/null
@@ -1,38 +0,0 @@ -#!/bin/bash - -# Copyright (C) 2020-2022 Google LLC -# -# 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. -# -# Linux Build Script. - -set -e # Fail on any error. - -SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd )" -ROOT_DIR="$( cd "${SCRIPT_DIR}/../.." >/dev/null 2>&1 && pwd )" - -TARGET_ARCH="$1" - -# --privileged is required for some sanitizer builds, as they seem to require -# PTRACE privileges -docker run --rm -i \ - --privileged \ - --volume "${ROOT_DIR}:${ROOT_DIR}" \ - --volume "${KOKORO_ARTIFACTS_DIR}:${KOKORO_ARTIFACTS_DIR}" \ - --workdir "${ROOT_DIR}" \ - --env ROOT_DIR="${ROOT_DIR}" \ - --env SCRIPT_DIR="${SCRIPT_DIR}" \ - --env TARGET_ARCH="${TARGET_ARCH}" \ - --env KOKORO_ARTIFACTS_DIR="${KOKORO_ARTIFACTS_DIR}" \ - --entrypoint "${SCRIPT_DIR}/build-docker.sh" \ - us-east4-docker.pkg.dev/shaderc-build/radial-docker/ubuntu-24.04-amd64/cpp-builder
diff --git a/kokoro/android-release/build_arm.sh b/kokoro/android-release/build_arm.sh deleted file mode 100755 index 6d43504..0000000 --- a/kokoro/android-release/build_arm.sh +++ /dev/null
@@ -1,25 +0,0 @@ -#!/bin/bash - -# Copyright (C) 2017 Google Inc. -# -# 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. -# -# Android Build Script. - -# Fail on any error. -set -e -# Display commands being run. -set -x - -SCRIPT_DIR=`dirname "$BASH_SOURCE"` -source $SCRIPT_DIR/build.sh "armeabi-v7a with NEON"
diff --git a/kokoro/android-release/build_x86.sh b/kokoro/android-release/build_x86.sh deleted file mode 100755 index c642ab1..0000000 --- a/kokoro/android-release/build_x86.sh +++ /dev/null
@@ -1,26 +0,0 @@ -#!/bin/bash - -# Copyright (C) 2017 Google Inc. -# -# 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. -# -# Android Build Script. - -# Fail on any error. -set -e -# Display commands being run. -set -x - -SCRIPT_DIR=`dirname "$BASH_SOURCE"` -source $SCRIPT_DIR/build.sh x86 -
diff --git a/kokoro/android-release/continuous_arm.cfg b/kokoro/android-release/continuous_arm.cfg deleted file mode 100644 index a4f931a..0000000 --- a/kokoro/android-release/continuous_arm.cfg +++ /dev/null
@@ -1,17 +0,0 @@ -# Copyright (C) 2017 Google Inc. -# -# 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. - -# Continuous build configuration. -# -build_file: "shaderc/kokoro/android-release/build_arm.sh"
diff --git a/kokoro/android-release/continuous_x86.cfg b/kokoro/android-release/continuous_x86.cfg deleted file mode 100644 index a8643d5..0000000 --- a/kokoro/android-release/continuous_x86.cfg +++ /dev/null
@@ -1,17 +0,0 @@ -# Copyright (C) 2017 Google Inc. -# -# 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. - -# Continuous build configuration. -# -build_file: "shaderc/kokoro/android-release/build_x86.sh"
diff --git a/kokoro/android-release/presubmit_arm.cfg b/kokoro/android-release/presubmit_arm.cfg deleted file mode 100644 index b88294d..0000000 --- a/kokoro/android-release/presubmit_arm.cfg +++ /dev/null
@@ -1,16 +0,0 @@ -# Copyright (C) 2017 Google Inc. -# -# 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. - -# Presubmit build configuration. -build_file: "shaderc/kokoro/android-release/build_arm.sh"
diff --git a/kokoro/android-release/presubmit_x86.cfg b/kokoro/android-release/presubmit_x86.cfg deleted file mode 100644 index 590753e..0000000 --- a/kokoro/android-release/presubmit_x86.cfg +++ /dev/null
@@ -1,16 +0,0 @@ -# Copyright (C) 2017 Google Inc. -# -# 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. - -# Presubmit build configuration. -build_file: "shaderc/kokoro/android-release/build_x86.sh"
diff --git a/kokoro/linux/build-docker.sh b/kokoro/linux/build-docker.sh deleted file mode 100755 index a4df892..0000000 --- a/kokoro/linux/build-docker.sh +++ /dev/null
@@ -1,102 +0,0 @@ -#!/bin/bash - -# Copyright (C) 2017 Google Inc. -# -# 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. - -# Linux Build Script run inside docker container. - -set -e # Fail on any error. - -. /bin/using.sh # Declare the bash `using` function for configuring toolchains. - -set -x # Display commands being run. - -SKIP_TESTS="False" -BUILD_TYPE="Debug" - -using cmake-3.31.2 -using ninja-1.10.0 -using python-3.12 - -if [ ! -z "$COMPILER" ]; then - using "$COMPILER" -fi - -# Possible configurations are: -# ASAN, COVERAGE, RELEASE, DEBUG, DEBUG_EXCEPTION, RELEASE_MINGW - -if [ $CONFIG = "RELEASE" ] || [ $CONFIG = "RELEASE_MINGW" ] -then - BUILD_TYPE="RelWithDebInfo" -fi - -ADDITIONAL_CMAKE_FLAGS="" -if [ $CONFIG = "ASAN" ] -then - ADDITIONAL_CMAKE_FLAGS="-DCMAKE_CXX_FLAGS=-fsanitize=address -DCMAKE_C_FLAGS=-fsanitize=address" -elif [ $CONFIG = "COVERAGE" ] -then - ADDITIONAL_CMAKE_FLAGS="-DENABLE_CODE_COVERAGE=ON" - SKIP_TESTS="True" -elif [ $CONFIG = "DEBUG_EXCEPTION" ] -then - ADDITIONAL_CMAKE_FLAGS="-DDISABLE_EXCEPTIONS=ON -DDISABLE_RTTI=ON" -elif [ $CONFIG = "RELEASE_MINGW" ] -then - ADDITIONAL_CMAKE_FLAGS="-DCMAKE_TOOLCHAIN_FILE=$ROOT_DIR/cmake/linux-mingw-toolchain.cmake" - SKIP_TESTS="True" -fi - -cd $ROOT_DIR -./utils/git-sync-deps - -mkdir build -cd $ROOT_DIR/build - -# Invoke the build. -BUILD_SHA=${KOKORO_GITHUB_COMMIT:-$KOKORO_GITHUB_PULL_REQUEST_COMMIT} -echo $(date): Starting build... -cmake -GNinja -DCMAKE_INSTALL_PREFIX=$KOKORO_ARTIFACTS_DIR/install -DRE2_BUILD_TESTING=OFF -DCMAKE_BUILD_TYPE=$BUILD_TYPE $ADDITIONAL_CMAKE_FLAGS .. - -echo $(date): Build glslang... -ninja glslang-standalone - -echo $(date): Build everything... -ninja -echo $(date): Build completed. - -echo $(date): Check Shaderc for copyright notices... -ninja check-copyright - -if [ $CONFIG = "COVERAGE" ] -then - echo $(date): Check coverage... - ninja report-coverage - echo $(date): Check coverage completed. -fi - -echo $(date): Starting ctest... -if [ $SKIP_TESTS = "False" ] -then - ctest --output-on-failure -j4 -fi -echo $(date): ctest completed. - -# libshaderc_util/core is generated by the death test in shaderc_util_file_finder_test -rm -f libshaderc_util/core - -# Package the build. -ninja install -cd $KOKORO_ARTIFACTS_DIR -tar czf install.tgz install
diff --git a/kokoro/linux/build.sh b/kokoro/linux/build.sh deleted file mode 100755 index ebef746..0000000 --- a/kokoro/linux/build.sh +++ /dev/null
@@ -1,38 +0,0 @@ -#!/bin/bash - -# Copyright (C) 2020 Google Inc. -# -# 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 any error. - -SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd )" -ROOT_DIR="$( cd "${SCRIPT_DIR}/../.." >/dev/null 2>&1 && pwd )" - -CONFIG=$1 -COMPILER=$2 - -# --privileged is required for some sanitizer builds, as they seem to require -# PTRACE privileges -docker run --rm -i \ - --privileged \ - --volume "${ROOT_DIR}:${ROOT_DIR}" \ - --volume "${KOKORO_ARTIFACTS_DIR}:${KOKORO_ARTIFACTS_DIR}" \ - --workdir "${ROOT_DIR}" \ - --env ROOT_DIR="${ROOT_DIR}" \ - --env SCRIPT_DIR="${SCRIPT_DIR}" \ - --env CONFIG="${CONFIG}" \ - --env COMPILER="${COMPILER}" \ - --env KOKORO_ARTIFACTS_DIR="${KOKORO_ARTIFACTS_DIR}" \ - --entrypoint "${SCRIPT_DIR}/build-docker.sh" \ - us-east4-docker.pkg.dev/shaderc-build/radial-docker/ubuntu-24.04-amd64/cpp-builder
diff --git a/kokoro/linux/build_clang_asan.sh b/kokoro/linux/build_clang_asan.sh deleted file mode 100755 index ff399dc..0000000 --- a/kokoro/linux/build_clang_asan.sh +++ /dev/null
@@ -1,25 +0,0 @@ -#!/bin/bash - -# Copyright (C) 2017 Google Inc. -# -# 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. -# -# Linux Build Script. - -# Fail on any error. -set -e -# Display commands being run. -set -x - -SCRIPT_DIR=`dirname "$BASH_SOURCE"` -source $SCRIPT_DIR/build.sh ASAN "clang-13.0.1"
diff --git a/kokoro/linux/build_clang_debug.sh b/kokoro/linux/build_clang_debug.sh deleted file mode 100755 index 87ee26d..0000000 --- a/kokoro/linux/build_clang_debug.sh +++ /dev/null
@@ -1,25 +0,0 @@ -#!/bin/bash - -# Copyright (C) 2017 Google Inc. -# -# 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. -# -# Linux Build Script. - -# Fail on any error. -set -e -# Display commands being run. -set -x - -SCRIPT_DIR=`dirname "$BASH_SOURCE"` -source $SCRIPT_DIR/build.sh DEBUG "clang-13.0.1"
diff --git a/kokoro/linux/build_clang_release.sh b/kokoro/linux/build_clang_release.sh deleted file mode 100755 index d42672d..0000000 --- a/kokoro/linux/build_clang_release.sh +++ /dev/null
@@ -1,25 +0,0 @@ -#!/bin/bash - -# Copyright (C) 2017 Google Inc. -# -# 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. -# -# Linux Build Script. - -# Fail on any error. -set -e -# Display commands being run. -set -x - -SCRIPT_DIR=`dirname "$BASH_SOURCE"` -source $SCRIPT_DIR/build.sh RELEASE "clang-13.0.1"
diff --git a/kokoro/linux/build_gcc_coverage.sh b/kokoro/linux/build_gcc_coverage.sh deleted file mode 100755 index 7270334..0000000 --- a/kokoro/linux/build_gcc_coverage.sh +++ /dev/null
@@ -1,25 +0,0 @@ -#!/bin/bash - -# Copyright (C) 2017 Google Inc. -# -# 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. -# -# Linux Build Script. - -# Fail on any error. -set -e -# Display commands being run. -set -x - -SCRIPT_DIR=`dirname "$BASH_SOURCE"` -source $SCRIPT_DIR/build.sh COVERAGE "gcc-7" # gcc-8+ has issues with lcov
diff --git a/kokoro/linux/build_gcc_debug.sh b/kokoro/linux/build_gcc_debug.sh deleted file mode 100755 index 9b81503..0000000 --- a/kokoro/linux/build_gcc_debug.sh +++ /dev/null
@@ -1,25 +0,0 @@ -#!/bin/bash - -# Copyright (C) 2017 Google Inc. -# -# 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. -# -# Linux Build Script. - -# Fail on any error. -set -e -# Display commands being run. -set -x - -SCRIPT_DIR=`dirname "$BASH_SOURCE"` -source $SCRIPT_DIR/build.sh DEBUG "gcc-13"
diff --git a/kokoro/linux/build_gcc_debug_exception.sh b/kokoro/linux/build_gcc_debug_exception.sh deleted file mode 100755 index 5465c7c..0000000 --- a/kokoro/linux/build_gcc_debug_exception.sh +++ /dev/null
@@ -1,25 +0,0 @@ -#!/bin/bash - -# Copyright (C) 2017 Google Inc. -# -# 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. -# -# Linux Build Script. - -# Fail on any error. -set -e -# Display commands being run. -set -x - -SCRIPT_DIR=`dirname "$BASH_SOURCE"` -source $SCRIPT_DIR/build.sh DEBUG_EXCEPTION "gcc-13"
diff --git a/kokoro/linux/build_gcc_release.sh b/kokoro/linux/build_gcc_release.sh deleted file mode 100755 index a30867c..0000000 --- a/kokoro/linux/build_gcc_release.sh +++ /dev/null
@@ -1,25 +0,0 @@ -#!/bin/bash - -# Copyright (C) 2017 Google Inc. -# -# 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. -# -# Linux Build Script. - -# Fail on any error. -set -e -# Display commands being run. -set -x - -SCRIPT_DIR=`dirname "$BASH_SOURCE"` -source $SCRIPT_DIR/build.sh RELEASE "gcc-13"
diff --git a/kokoro/linux/build_mingw_release.sh b/kokoro/linux/build_mingw_release.sh deleted file mode 100755 index 0b54dc6..0000000 --- a/kokoro/linux/build_mingw_release.sh +++ /dev/null
@@ -1,25 +0,0 @@ -#!/bin/bash - -# Copyright (C) 2017 Google Inc. -# -# 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. -# -# Linux Build Script. - -# Fail on any error. -set -e -# Display commands being run. -set -x - -SCRIPT_DIR=`dirname "$BASH_SOURCE"` -source $SCRIPT_DIR/build.sh RELEASE_MINGW
diff --git a/kokoro/linux/continuous_clang_asan.cfg b/kokoro/linux/continuous_clang_asan.cfg deleted file mode 100644 index 1291151..0000000 --- a/kokoro/linux/continuous_clang_asan.cfg +++ /dev/null
@@ -1,16 +0,0 @@ -# Copyright (C) 2017 Google Inc. -# -# 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. - -# Continuous build configuration. -build_file: "shaderc/kokoro/linux/build_clang_asan.sh"
diff --git a/kokoro/linux/continuous_clang_debug.cfg b/kokoro/linux/continuous_clang_debug.cfg deleted file mode 100644 index 1021c44..0000000 --- a/kokoro/linux/continuous_clang_debug.cfg +++ /dev/null
@@ -1,22 +0,0 @@ -# Copyright (C) 2017 Google Inc. -# -# 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. - -# Continuous build configuration. -build_file: "shaderc/kokoro/linux/build_clang_debug.sh" - -action { - define_artifacts { - regex: "install.tgz" - } -}
diff --git a/kokoro/linux/continuous_clang_release.cfg b/kokoro/linux/continuous_clang_release.cfg deleted file mode 100644 index cffba60..0000000 --- a/kokoro/linux/continuous_clang_release.cfg +++ /dev/null
@@ -1,22 +0,0 @@ -# Copyright (C) 2017 Google Inc. -# -# 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. - -# Continuous build configuration. -build_file: "shaderc/kokoro/linux/build_clang_release.sh" - -action { - define_artifacts { - regex: "install.tgz" - } -}
diff --git a/kokoro/linux/continuous_gcc_debug.cfg b/kokoro/linux/continuous_gcc_debug.cfg deleted file mode 100644 index 526f08f..0000000 --- a/kokoro/linux/continuous_gcc_debug.cfg +++ /dev/null
@@ -1,22 +0,0 @@ -# Copyright (C) 2017 Google Inc. -# -# 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. - -# Continuous build configuration. -build_file: "shaderc/kokoro/linux/build_gcc_debug.sh" - -action { - define_artifacts { - regex: "install.tgz" - } -}
diff --git a/kokoro/linux/continuous_gcc_debug_exception.cfg b/kokoro/linux/continuous_gcc_debug_exception.cfg deleted file mode 100644 index cecd155..0000000 --- a/kokoro/linux/continuous_gcc_debug_exception.cfg +++ /dev/null
@@ -1,16 +0,0 @@ -# Copyright (C) 2017 Google Inc. -# -# 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. - -# Continuous build configuration. -build_file: "shaderc/kokoro/linux/build_gcc_debug_exception.sh"
diff --git a/kokoro/linux/continuous_gcc_release.cfg b/kokoro/linux/continuous_gcc_release.cfg deleted file mode 100644 index 8e0cde8..0000000 --- a/kokoro/linux/continuous_gcc_release.cfg +++ /dev/null
@@ -1,22 +0,0 @@ -# Copyright (C) 2017 Google Inc. -# -# 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. - -# Continuous build configuration. -build_file: "shaderc/kokoro/linux/build_gcc_release.sh" - -action { - define_artifacts { - regex: "install.tgz" - } -}
diff --git a/kokoro/linux/continuous_license_check.cfg b/kokoro/linux/continuous_license_check.cfg deleted file mode 100644 index 066a4d3..0000000 --- a/kokoro/linux/continuous_license_check.cfg +++ /dev/null
@@ -1,16 +0,0 @@ -# Copyright (C) 2020 Google Inc. -# -# 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. - -# Continuous build configuration. -build_file: "shaderc/kokoro/linux/license_check.sh"
diff --git a/kokoro/linux/continuous_mingw_release.cfg b/kokoro/linux/continuous_mingw_release.cfg deleted file mode 100644 index a0d4e76..0000000 --- a/kokoro/linux/continuous_mingw_release.cfg +++ /dev/null
@@ -1,16 +0,0 @@ -# Copyright (C) 2017 Google Inc. -# -# 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. - -# Continuous build configuration. -build_file: "shaderc/kokoro/linux/build_mingw_release.sh"
diff --git a/kokoro/linux/presubmit_clang_asan.cfg b/kokoro/linux/presubmit_clang_asan.cfg deleted file mode 100644 index fcaaa36..0000000 --- a/kokoro/linux/presubmit_clang_asan.cfg +++ /dev/null
@@ -1,16 +0,0 @@ -# Copyright (C) 2017 Google Inc. -# -# 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. - -# Presubmit build configuration. -build_file: "shaderc/kokoro/linux/build_clang_asan.sh"
diff --git a/kokoro/linux/presubmit_clang_debug.cfg b/kokoro/linux/presubmit_clang_debug.cfg deleted file mode 100644 index 87abaf7..0000000 --- a/kokoro/linux/presubmit_clang_debug.cfg +++ /dev/null
@@ -1,16 +0,0 @@ -# Copyright (C) 2017 Google Inc. -# -# 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. - -# Presubmit build configuration. -build_file: "shaderc/kokoro/linux/build_clang_debug.sh"
diff --git a/kokoro/linux/presubmit_clang_release.cfg b/kokoro/linux/presubmit_clang_release.cfg deleted file mode 100644 index 81ba77d..0000000 --- a/kokoro/linux/presubmit_clang_release.cfg +++ /dev/null
@@ -1,16 +0,0 @@ -# Copyright (C) 2017 Google Inc. -# -# 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. - -# Presubmit build configuration. -build_file: "shaderc/kokoro/linux/build_clang_release.sh"
diff --git a/kokoro/linux/presubmit_gcc_debug.cfg b/kokoro/linux/presubmit_gcc_debug.cfg deleted file mode 100644 index f0eec27..0000000 --- a/kokoro/linux/presubmit_gcc_debug.cfg +++ /dev/null
@@ -1,17 +0,0 @@ -# Copyright (C) 2017 Google Inc. -# -# 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. - -# Presubmit build configuration. -build_file: "shaderc/kokoro/linux/build_gcc_debug.sh" -
diff --git a/kokoro/linux/presubmit_gcc_release.cfg b/kokoro/linux/presubmit_gcc_release.cfg deleted file mode 100644 index fda4333..0000000 --- a/kokoro/linux/presubmit_gcc_release.cfg +++ /dev/null
@@ -1,16 +0,0 @@ -# Copyright (C) 2017 Google Inc. -# -# 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. - -# Presubmit build configuration. -build_file: "shaderc/kokoro/linux/build_gcc_release.sh"
diff --git a/kokoro/linux/presubmit_license_check.cfg b/kokoro/linux/presubmit_license_check.cfg deleted file mode 100644 index 38db8f5..0000000 --- a/kokoro/linux/presubmit_license_check.cfg +++ /dev/null
@@ -1,16 +0,0 @@ -# Copyright (C) 2020 Google Inc. -# -# 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. - -# Presubmit build configuration. -build_file: "shaderc/kokoro/linux/license_check.sh"
diff --git a/kokoro/linux/presubmit_mingw_release.cfg b/kokoro/linux/presubmit_mingw_release.cfg deleted file mode 100644 index bfc53ad..0000000 --- a/kokoro/linux/presubmit_mingw_release.cfg +++ /dev/null
@@ -1,16 +0,0 @@ -# Copyright (C) 2017 Google Inc. -# -# 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. - -# Presubmit build configuration. -build_file: "shaderc/kokoro/linux/build_mingw_release.sh"
diff --git a/kokoro/macos/build.sh b/kokoro/macos/build.sh deleted file mode 100644 index c39c9b4..0000000 --- a/kokoro/macos/build.sh +++ /dev/null
@@ -1,63 +0,0 @@ -#!/bin/bash - -# Copyright (C) 2017 Google Inc. -# -# 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. -# -# MacOS Build Script. - -# Fail on any error. -set -e -# Display commands being run. -set -x - -BUILD_ROOT=$PWD -SRC=$PWD/github/shaderc -BUILD_TYPE=$1 - -# Get NINJA. -wget -q https://github.com/ninja-build/ninja/releases/download/v1.7.2/ninja-mac.zip -unzip -q ninja-mac.zip -chmod +x ninja -export PATH="$PWD:$PATH" - -cd $SRC -./utils/git-sync-deps - -mkdir build -cd $SRC/build - -# Invoke the build. -BUILD_SHA=${KOKORO_GITHUB_COMMIT:-$KOKORO_GITHUB_PULL_REQUEST_COMMIT} -echo $(date): Starting build... -cmake -GNinja -DCMAKE_INSTALL_PREFIX=$KOKORO_ARTIFACTS_DIR/install -DRE2_BUILD_TESTING=OFF -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=$BUILD_TYPE .. - -echo $(date): Build glslang... -ninja glslang-standalone - -echo $(date): Build everything... -ninja - -echo $(date): Check Shaderc for copyright notices... -ninja check-copyright - -echo $(date): Build completed. - -echo $(date): Starting ctest... -ctest --output-on-failure -j4 -echo $(date): ctest completed. - -# Package the build. -ninja install -cd $KOKORO_ARTIFACTS_DIR -tar czf install.tgz install
diff --git a/kokoro/macos/build_clang_debug.sh b/kokoro/macos/build_clang_debug.sh deleted file mode 100644 index ed889ff..0000000 --- a/kokoro/macos/build_clang_debug.sh +++ /dev/null
@@ -1,26 +0,0 @@ -#!/bin/bash - -# Copyright (C) 2017 Google Inc. -# -# 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. -# -# MacOS Build Script. - -# Fail on any error. -set -e -# Display commands being run. -set -x - -SCRIPT_DIR=`dirname "$BASH_SOURCE"` -source $SCRIPT_DIR/build.sh Debug -
diff --git a/kokoro/macos/build_clang_release.sh b/kokoro/macos/build_clang_release.sh deleted file mode 100644 index 9599bac..0000000 --- a/kokoro/macos/build_clang_release.sh +++ /dev/null
@@ -1,26 +0,0 @@ -#!/bin/bash - -# Copyright (C) 2017 Google Inc. -# -# 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. -# -# MacOS Build Script. - -# Fail on any error. -set -e -# Display commands being run. -set -x - -SCRIPT_DIR=`dirname "$BASH_SOURCE"` -source $SCRIPT_DIR/build.sh RelWithDebInfo -
diff --git a/kokoro/macos/continuous_clang_debug.cfg b/kokoro/macos/continuous_clang_debug.cfg deleted file mode 100644 index d8000a9..0000000 --- a/kokoro/macos/continuous_clang_debug.cfg +++ /dev/null
@@ -1,22 +0,0 @@ -# Copyright (C) 2017 Google Inc. -# -# 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. - -# Continuous build configuration. -build_file: "shaderc/kokoro/macos/build_clang_debug.sh" - -action { - define_artifacts { - regex: "install.tgz" - } -}
diff --git a/kokoro/macos/continuous_clang_release.cfg b/kokoro/macos/continuous_clang_release.cfg deleted file mode 100644 index 101d06e..0000000 --- a/kokoro/macos/continuous_clang_release.cfg +++ /dev/null
@@ -1,22 +0,0 @@ -# Copyright (C) 2017 Google Inc. -# -# 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. - -# Continuous build configuration. -build_file: "shaderc/kokoro/macos/build_clang_release.sh" - -action { - define_artifacts { - regex: "install.tgz" - } -}
diff --git a/kokoro/macos/presubmit_clang_debug.cfg b/kokoro/macos/presubmit_clang_debug.cfg deleted file mode 100644 index d2748ae..0000000 --- a/kokoro/macos/presubmit_clang_debug.cfg +++ /dev/null
@@ -1,16 +0,0 @@ -# Copyright (C) 2017 Google Inc. -# -# 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. - -# Presubmit build configuration. -build_file: "shaderc/kokoro/macos/build_clang_debug.sh"
diff --git a/kokoro/macos/presubmit_clang_release.cfg b/kokoro/macos/presubmit_clang_release.cfg deleted file mode 100644 index 3041155..0000000 --- a/kokoro/macos/presubmit_clang_release.cfg +++ /dev/null
@@ -1,16 +0,0 @@ -# Copyright (C) 2017 Google Inc. -# -# 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. - -# Presubmit build configuration. -build_file: "shaderc/kokoro/macos/build_clang_release.sh"
diff --git a/kokoro/windows/build.bat b/kokoro/windows/build.bat deleted file mode 100644 index 0db2b04..0000000 --- a/kokoro/windows/build.bat +++ /dev/null
@@ -1,96 +0,0 @@ -:: Copyright (C) 2017 Google Inc. -:: -:: 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. -:: -:: Windows Build Script. - -@echo on - -set BUILD_ROOT=%cd% -set SRC=%cd%\github\shaderc -set BUILD_TYPE=%1 -set VS_VERSION=%2 -set ARCH=%3 - -:: Force usage of python 3.12 -set PATH=C:\python312;%PATH% -:: Glslang requires cmake 3.27 or later -set PATH=C:\cmake-3.31.2\bin;%PATH% - -cd %SRC% -python utils\git-sync-deps - -cmake --version - -mkdir build -cd %SRC%\build - -:: ######################################### -:: set up msvc build env -:: ######################################### -if %VS_VERSION% == 2022 ( - call "C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Auxiliary\Build\vcvarsall.bat" %ARCH% -) - -:: ######################################### -:: Start building. -:: ######################################### -echo "Starting build... %DATE% %TIME%" -if "%KOKORO_GITHUB_COMMIT%." == "." ( - set BUILD_SHA=%KOKORO_GITHUB_PULL_REQUEST_COMMIT% -) else ( - set BUILD_SHA=%KOKORO_GITHUB_COMMIT% -) - -set CMAKE_FLAGS=-DCMAKE_INSTALL_PREFIX=%KOKORO_ARTIFACTS_DIR%\install -DRE2_BUILD_TESTING=OFF -GNinja -DCMAKE_BUILD_TYPE=%BUILD_TYPE% -DCMAKE_C_COMPILER=cl.exe -DCMAKE_CXX_COMPILER=cl.exe - -cmake %CMAKE_FLAGS% .. -if %ERRORLEVEL% NEQ 0 exit /b %ERRORLEVEL% - -echo "Build glslang... %DATE% %TIME%" -ninja glslang-standalone -if %ERRORLEVEL% NEQ 0 exit /b %ERRORLEVEL% - -echo "Build everything... %DATE% %TIME%" -ninja -if %ERRORLEVEL% NEQ 0 exit /b %ERRORLEVEL% - -echo "Check Shaderc for copyright notices... %DATE% %TIME%" -ninja check-copyright -if %ERRORLEVEL% NEQ 0 exit /b %ERRORLEVEL% -echo "Build Completed %DATE% %TIME%" - -:: This lets us use !ERRORLEVEL! inside an IF ... () and get the actual error at that point. -setlocal ENABLEDELAYEDEXPANSION - -:: ################################################ -:: Run the tests -:: ################################################ -echo "Running tests... %DATE% %TIME%" -ctest -C %BUILD_TYPE% --output-on-failure -j4 -if !ERRORLEVEL! NEQ 0 exit /b !ERRORLEVEL! -echo "Tests passed %DATE% %TIME%" - -:: ################################################ -:: Install and package. -:: ################################################ -ninja install -cd %KOKORO_ARTIFACTS_DIR% -zip -r install.zip install - -:: Clean up some directories. -rm -rf %SRC%\build -rm -rf %SRC%\install -rm -rf %SRC%\third_party - -exit /b 0
diff --git a/kokoro/windows/build_2022_amd64_debug.bat b/kokoro/windows/build_2022_amd64_debug.bat deleted file mode 100644 index a3e993a..0000000 --- a/kokoro/windows/build_2022_amd64_debug.bat +++ /dev/null
@@ -1,23 +0,0 @@ -:: Copyright (C) 2025 Google Inc. -:: -:: 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. -:: -:: Windows Build Script. - -@echo on - -:: Find out the directory of the common build script. -set SCRIPT_DIR=%~dp0 - -:: Call with correct parameter -call %SCRIPT_DIR%\build.bat Debug 2022 amd64
diff --git a/kokoro/windows/build_2022_amd64_release.bat b/kokoro/windows/build_2022_amd64_release.bat deleted file mode 100644 index 467a575..0000000 --- a/kokoro/windows/build_2022_amd64_release.bat +++ /dev/null
@@ -1,23 +0,0 @@ -:: Copyright (C) 2025 Google Inc. -:: -:: 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. -:: -:: Windows Build Script. - -@echo on - -:: Find out the directory of the common build script. -set SCRIPT_DIR=%~dp0 - -:: Call with correct parameter -call %SCRIPT_DIR%\build.bat RelWithDebInfo 2022 amd64
diff --git a/kokoro/windows/vs2022_amd64_debug_continuous.cfg b/kokoro/windows/vs2022_amd64_debug_continuous.cfg deleted file mode 100644 index 1dbfab3..0000000 --- a/kokoro/windows/vs2022_amd64_debug_continuous.cfg +++ /dev/null
@@ -1,22 +0,0 @@ -# Copyright (C) 2025 Google Inc. -# -# 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. - -# Continuous build configuration. -build_file: "shaderc/kokoro/windows/build_2022_amd64_debug.bat" - -action { - define_artifacts { - regex: "install.zip" - } -}
diff --git a/kokoro/windows/vs2022_amd64_debug_presubmit.cfg b/kokoro/windows/vs2022_amd64_debug_presubmit.cfg deleted file mode 100644 index 5417938..0000000 --- a/kokoro/windows/vs2022_amd64_debug_presubmit.cfg +++ /dev/null
@@ -1,22 +0,0 @@ -# Copyright (C) 2025 Google Inc. -# -# 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. - -# Presubmit build configuration. -build_file: "shaderc/kokoro/windows/build_2022_amd64_debug.bat" - -action { - define_artifacts { - regex: "install.zip" - } -}
diff --git a/kokoro/windows/vs2022_amd64_release_continuous.cfg b/kokoro/windows/vs2022_amd64_release_continuous.cfg deleted file mode 100644 index 3237fea..0000000 --- a/kokoro/windows/vs2022_amd64_release_continuous.cfg +++ /dev/null
@@ -1,22 +0,0 @@ -# Copyright (C) 2025 Google Inc. -# -# 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. - -# Continuous build configuration. -build_file: "shaderc/kokoro/windows/build_2022_amd64_release.bat" - -action { - define_artifacts { - regex: "install.zip" - } -}
diff --git a/kokoro/windows/vs2022_amd64_release_presubmit.cfg b/kokoro/windows/vs2022_amd64_release_presubmit.cfg deleted file mode 100644 index d566e9b..0000000 --- a/kokoro/windows/vs2022_amd64_release_presubmit.cfg +++ /dev/null
@@ -1,22 +0,0 @@ -# Copyright (C) 2025 Google Inc. -# -# 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. - -# Presubmit build configuration. -build_file: "shaderc/kokoro/windows/build_2022_amd64_release.bat" - -action { - define_artifacts { - regex: "install.zip" - } -}