Skip to content
Snippets Groups Projects

Draft: Add macOS support

Closed Dariusz Rybicki requested to merge dev/macos-support into development
1 file
+ 2
4
Compare changes
  • Side-by-side
  • Inline
+ 2
4
#!/bin/sh
#!/bin/sh
set -e
set -e
echo -e "\e[0Ksection_start:`date +%s`:test_macos\r\e[0KRunning tests on macOS..."
echo "\n\033[1;32m▶ Running tests on macOS...\033[0m"
set -o pipefail && swift test 2>&1 | ./xcbeautify
set -o pipefail && swift test 2>&1 | ./xcbeautify
echo -e "\e[0Ksection_end:`date +%s`:test_macos\r\e[0K"
echo -e "\e[0Ksection_start:`date +%s`:test_ios\r\e[0KRunning tests on iOS Simulator..."
echo "\n\033[1;32m▶ Running tests on iOS Simulator...\033[0m"
set -o pipefail && xcodebuild -scheme 'elixxir-dapps-sdk-swift-Package' -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=15.5,name=iPhone 13' test | ./xcbeautify
set -o pipefail && xcodebuild -scheme 'elixxir-dapps-sdk-swift-Package' -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=15.5,name=iPhone 13' test | ./xcbeautify
echo -e "\e[0Ksection_end:`date +%s`:test_ios\r\e[0K"
Loading