forked from protocolbuffers/protobuf
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow pre-compiled binaries for ruby 3.1.0 (protocolbuffers#9566)
* Allow pre-compiled binaries for ruby 3.1.1 * add comment * fix build and use ruby 3.1.0 * add ruby31 to build CI for tests and release * trying to fix ci * install ruby 3.1.0 in ruby_build_environment.sh * use head for rvm to install 3.1.0 * just install master version of rvm in prepare_build_macos_rc * force install of master rvm in ruby_build_environment.sh * Use coroutine=universal when compiling ruby31 * use ucontext * fix filename * fix coroutine name * use git head for rake-compiler-dock * use newest rake-compiler-dock version
- Loading branch information
Showing
12 changed files
with
112 additions
and
5 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,18 @@ | ||
#!/bin/bash | ||
# | ||
# This is the top-level script we give to Kokoro as the entry point for | ||
# running the "pull request" project: | ||
# | ||
# This script selects a specific Dockerfile (for building a Docker image) and | ||
# a script to run inside that image. Then we delegate to the general | ||
# build_and_run_docker.sh script. | ||
|
||
# Change to repo root | ||
cd $(dirname $0)/../../.. | ||
|
||
export DOCKERHUB_ORGANIZATION=protobuftesting | ||
export DOCKERFILE_DIR=kokoro/linux/dockerfile/test/ruby | ||
export DOCKER_RUN_SCRIPT=kokoro/linux/pull_request_in_docker.sh | ||
export OUTPUT_DIR=testoutput | ||
export TEST_SET="ruby31" | ||
./kokoro/linux/build_and_run_docker.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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Config file for running tests in Kokoro | ||
|
||
# Location of the build script in repository | ||
build_file: "protobuf/kokoro/linux/ruby31/build.sh" | ||
timeout_mins: 120 | ||
|
||
action { | ||
define_artifacts { | ||
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Config file for running tests in Kokoro | ||
|
||
# Location of the build script in repository | ||
build_file: "protobuf/kokoro/linux/ruby31/build.sh" | ||
timeout_mins: 120 | ||
|
||
action { | ||
define_artifacts { | ||
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
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,12 @@ | ||
#!/bin/bash | ||
# | ||
# Build file to set up and run tests | ||
|
||
# Change to repo root | ||
cd $(dirname $0)/../../.. | ||
|
||
# Prepare worker environment to run tests | ||
KOKORO_INSTALL_RVM=yes | ||
source kokoro/macos/prepare_build_macos_rc | ||
|
||
./tests.sh ruby31 |
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,5 @@ | ||
# Config file for running tests in Kokoro | ||
|
||
# Location of the build script in repository | ||
build_file: "protobuf/kokoro/macos/ruby31/build.sh" | ||
timeout_mins: 1440 |
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,5 @@ | ||
# Config file for running tests in Kokoro | ||
|
||
# Location of the build script in repository | ||
build_file: "protobuf/kokoro/macos/ruby31/build.sh" | ||
timeout_mins: 1440 |
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
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