Skip to content

[DNM] PR testing check #7536

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions Utilities/build-using-self
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,21 @@ set -x
# Perform package update in order to get the latest commits for the dependencies.
swift package update
swift build -c $CONFIGURATION
swift test -c $CONFIGURATION --parallel
#swift test -c $CONFIGURATION --parallel

# Run the integration tests with just built SwiftPM.
export SWIFTPM_BIN_DIR=$(swift build -c $CONFIGURATION --show-bin-path)
cd IntegrationTests
# Perform package update in order to get the latest commits for the dependencies.
swift package update
$SWIFTPM_BIN_DIR/swift-test --parallel

if [ "$(uname)" == "Darwin" ]; then
cd ..
echo "Current working directory is ${PWD}"
echo "Bootstrapping with the XCBuild codepath..."
./Utilities/bootstrap build --release \
--cross-compile-hosts macosx-arm64 \
--skip-cmake-bootstrap \
--swift-build-path "${SWIFTPM_BIN_DIR}/swift-build"
fi
$SWIFTPM_BIN_DIR/swift-test --verbose

#if [ "$(uname)" == "Darwin" ]; then
# cd ..
# echo "Current working directory is ${PWD}"
# echo "Bootstrapping with the XCBuild codepath..."
# ./Utilities/bootstrap build --release \
# --cross-compile-hosts macosx-arm64 \
# --skip-cmake-bootstrap \
# --swift-build-path "${SWIFTPM_BIN_DIR}/swift-build"
#fi