Download this file
| 1 | #!/usr/bin/env bash |
| 2 | set -euo pipefail |
| 3 | # Runs after the Go steps (10 to 90), which are make ci target by target. |
| 4 | # The native app's gate (native/scripts/check-native.sh): the string catalog, |
| 5 | # BaseKit's tests, the Mac app and an iPhone Simulator build on a Mac; the |
| 6 | # catalog alone elsewhere. The screenshot gate (native/scripts/snapshots.sh) |
| 7 | # is not run here: its baselines are exact only on the macOS, Xcode and |
| 8 | # simulator runtime that drew them. swift test builds its tests and skips |
| 9 | # them without RASTRILLO_SNAPSHOTS. |
| 10 | if [[ "$(uname -s)" == Darwin ]]; then |
| 11 | native/scripts/check-native.sh |
| 12 | else |
| 13 | native/scripts/check-native.sh --core-only |
| 14 | fi |
| 15 | |