Fred Sladkey | 2973afa | 2022-08-29 18:11:25 -0400 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | set -e |
Fred Sladkey | 2973afa | 2022-08-29 18:11:25 -0400 | [diff] [blame] | 3 | |
Fred Sladkey | 7aea553 | 2023-01-03 11:22:29 -0500 | [diff] [blame] | 4 | # Runs host tests for all projects that support KMP except for Compose-specific projects which are |
| 5 | # already covered by androidx_compose_multiplatform.sh |
| 6 | |
| 7 | # Must be run on Mac |
| 8 | |
Jim S | 6ab6b81 | 2023-05-02 10:30:58 -0700 | [diff] [blame] | 9 | export ANDROIDX_PROJECTS=INFRAROGUE # TODO: Switch from `INFRAROGUE` to `KMP` |
Fred Sladkey | 2973afa | 2022-08-29 18:11:25 -0400 | [diff] [blame] | 10 | |
| 11 | # disable GCP cache, these machines don't have credentials. |
| 12 | export USE_ANDROIDX_REMOTE_BUILD_CACHE=false |
| 13 | |
| 14 | echo "Starting $0 at $(date)" |
| 15 | |
Rahul Ravikumar | c901322 | 2022-11-10 13:17:45 -0800 | [diff] [blame] | 16 | cd "$(dirname $0)" |
| 17 | |
Rahul Ravikumar | d1c3e42 | 2022-11-10 10:46:09 -0800 | [diff] [blame] | 18 | # Setup simulators |
| 19 | impl/androidx-native-mac-simulator-setup.sh |
| 20 | |
Rahul Ravikumar | 0d76ea7 | 2022-11-11 00:48:09 -0800 | [diff] [blame] | 21 | impl/build.sh darwinBenchmarkResults allTests \ |
Fred Sladkey | 2973afa | 2022-08-29 18:11:25 -0400 | [diff] [blame] | 22 | --no-configuration-cache \ |
| 23 | -Pandroidx.ignoreTestFailures \ |
| 24 | -Pandroidx.displayTestOutput=false \ |
| 25 | "$@" |
| 26 | |
Aurimas Liutikas | 22d139f | 2023-04-04 21:28:30 +0000 | [diff] [blame] | 27 | echo "Completing $0 at $(date)" |