blob: 84d9387da6913c36d2bbb503d2eebedbf3492c49 [file] [log] [blame]
#!/bin/bash
set -e
cd "$(dirname $0)"
export ANDROIDX_PROJECTS=KMP
# disable GCP cache, these machines don't have credentials.
export USE_ANDROIDX_REMOTE_BUILD_CACHE=false
# Setup simulators
impl/androidx-native-mac-simulator-setup.sh
impl/build.sh buildOnServer allTests :docs-kmp:zipCombinedKmpDocs --no-configuration-cache -Pandroidx.displayTestOutput=false
# run a separate createArchive task to prepare a repository
# folder in DIST.
# This cannot be merged with the buildOnServer run because
# snapshot version is not a proper release version.
DIST_DIR=$DIST_DIR/snapshots SNAPSHOT=true impl/build.sh createArchive --no-configuration-cache