-
Notifications
You must be signed in to change notification settings - Fork 15.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reverting changes to ruby aarch64 build. (#10394)
* Reverting changes to ruby aarch64 build. * Adding IN_DOCKER environment variable to prevent codegen * Pass the cmake-built protoc to the ruby runner
- Loading branch information
1 parent
f36b3c2
commit 4c3ab6c
Showing
4 changed files
with
21 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
# | ||
# This is the top-level script we give to Kokoro as the entry point for | ||
# running the "continuous" and "presubmit" jobs. | ||
|
||
set -ex | ||
|
||
# Change to repo root | ||
cd $(dirname $0)/../../.. | ||
|
||
# Initialize any submodules. | ||
git submodule update --init --recursive | ||
|
||
kokoro/linux/aarch64/qemu_helpers/prepare_qemu.sh | ||
|
||
kokoro/linux/aarch64/test_ruby_aarch64.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,11 @@ | ||
# Config file for running tests in Kokoro | ||
|
||
# Location of the build script in repository | ||
build_file: "protobuf/kokoro/linux/bazel.sh" | ||
build_file: "protobuf/kokoro/linux/ruby_aarch64/build.sh" | ||
timeout_mins: 120 | ||
|
||
env_vars { | ||
key: "CONTAINER_IMAGE" | ||
value: "gcr.io/protobuf-build/emulation/linux:aarch64-4e847d7a01c1792471b6dd985ab0bf2677332e6f" | ||
} | ||
|
||
env_vars { | ||
key: "BAZEL_TARGETS" | ||
value: "//ruby/..." | ||
} | ||
|
||
env_vars { | ||
key: "BAZEL_EXTRA_FLAGS" | ||
value: "--define=ruby_platform=c" | ||
} | ||
|
||
action { | ||
define_artifacts { | ||
regex: "**/sponge_log.*" | ||
regex: "**/sponge_log.xml" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,11 @@ | ||
# Config file for running tests in Kokoro | ||
|
||
# Location of the build script in repository | ||
build_file: "protobuf/kokoro/linux/bazel.sh" | ||
build_file: "protobuf/kokoro/linux/ruby_aarch64/build.sh" | ||
timeout_mins: 120 | ||
|
||
env_vars { | ||
key: "CONTAINER_IMAGE" | ||
value: "gcr.io/protobuf-build/emulation/linux:aarch64-4e847d7a01c1792471b6dd985ab0bf2677332e6f" | ||
} | ||
|
||
env_vars { | ||
key: "BAZEL_TARGETS" | ||
value: "//ruby/..." | ||
} | ||
|
||
env_vars { | ||
key: "BAZEL_EXTRA_FLAGS" | ||
value: "--define=ruby_platform=c" | ||
} | ||
|
||
action { | ||
define_artifacts { | ||
regex: "**/sponge_log.*" | ||
regex: "**/sponge_log.xml" | ||
} | ||
} |