-
Notifications
You must be signed in to change notification settings - Fork 318
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add second kokoro config that runs tests
PiperOrigin-RevId: 577967689
- Loading branch information
1 parent
24b3f6b
commit 7429116
Showing
5 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
kokoro/gcp_ubuntu_docker/release.cfg → kokoro/axt_build_artifacts.cfg
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 @@ | ||
build_file: "android-test-releases/kokoro/test_artifacts.sh" |
File renamed without changes.
File renamed without changes.
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,24 @@ | ||
#!/bin/bash | ||
|
||
# Fail on any error. | ||
set -e | ||
|
||
# move to where kokoro put the repository root | ||
cd "${KOKORO_ARTIFACTS_DIR}/github/android-test-releases" | ||
|
||
unzip "${KOKORO_GFILE_DIR}/axt_m2repository.zip" -d "/root/.m2" | ||
|
||
# copybara:strip_begin | ||
# LINT.IfChange | ||
# copybara:strip_end | ||
curl -s https://repos.azul.com/azul-repo.key | sudo gpg --dearmor -o /usr/share/keyrings/azul.gpg | ||
echo "deb [signed-by=/usr/share/keyrings/azul.gpg] https://repos.azul.com/zulu/deb stable main" | sudo tee /etc/apt/sources.list.d/zulu.list | ||
apt-get update | ||
apt-get install -y zulu17-jdk | ||
export JAVA_HOME="$(update-java-alternatives -l | grep "1.17" | head -n 1 | tr -s " " | cut -d " " -f 3)" | ||
|
||
cd gradle-tests | ||
./gradlew nexusOneApi30DebugAndroidTest -Pandroid.testoptions.manageddevices.emulator.gpu=swiftshader_indirect -Dandroid.experimental.androidTest.numManagedDeviceShards=1 | ||
# copybara:strip_begin | ||
# LINT.ThenChange(//depot/google3/third_party/android/androidx_test/.github/workflows/ci.yml) | ||
# copybara:strip_end |