Download this file
| 1 | #!/usr/bin/env bash |
| 2 | set -euo pipefail |
| 3 | # The screenshot gate (native/scripts/snapshots.sh) is not run here: its |
| 4 | # baselines are exact only on the macOS, Xcode and simulator runtime that |
| 5 | # drew them. swift test builds its tests and skips them without |
| 6 | # RASTRILLO_SNAPSHOTS. A rendering branch runs it by hand and pastes the |
| 7 | # output in its discussion: native/BUILDING.md, "The screenshot gate". |
| 8 | if [[ "$(uname -s)" == Darwin ]]; then |
| 9 | native/scripts/check-native.sh |
| 10 | else |
| 11 | native/scripts/check-native.sh --core-only |
| 12 | fi |
| 13 | |