From e1e96b502788b70459bee58ac15b6c572fb51a38 Mon Sep 17 00:00:00 2001 From: Victor Sigler Date: Wed, 9 Jun 2021 12:58:15 -0400 Subject: [PATCH 1/6] Add the buildkit pipeline YAML --- .buildkite/pipeline.yaml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .buildkite/pipeline.yaml diff --git a/.buildkite/pipeline.yaml b/.buildkite/pipeline.yaml new file mode 100644 index 00000000..8b09a9b1 --- /dev/null +++ b/.buildkite/pipeline.yaml @@ -0,0 +1,3 @@ +steps: + - label: "Example Test" + command: echo "Hello!" \ No newline at end of file From 6517511370dbb39b545ba5e1c2eebec18995c90f Mon Sep 17 00:00:00 2001 From: Victor Sigler Date: Wed, 9 Jun 2021 13:04:49 -0400 Subject: [PATCH 2/6] Update --- .buildkite/pipeline.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.buildkite/pipeline.yaml b/.buildkite/pipeline.yaml index 8b09a9b1..465154e5 100644 --- a/.buildkite/pipeline.yaml +++ b/.buildkite/pipeline.yaml @@ -1,3 +1,3 @@ steps: - - label: "Example Test" - command: echo "Hello!" \ No newline at end of file + - label: ":hammer: Unit Tests" + command: set -o pipefail && xcodebuild test -scheme SwifterMac -sdk macosx -destination "arch=x86_64" | xcpretty -c -r html \ No newline at end of file From df577abf1ff3cba9d500f3bc71a36be62d732e91 Mon Sep 17 00:00:00 2001 From: Victor Sigler Date: Thu, 10 Jun 2021 11:02:50 -0400 Subject: [PATCH 3/6] Install xcpretty --- .buildkite/pipeline.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.buildkite/pipeline.yaml b/.buildkite/pipeline.yaml index 465154e5..5d3ae9b9 100644 --- a/.buildkite/pipeline.yaml +++ b/.buildkite/pipeline.yaml @@ -1,3 +1,6 @@ steps: + - label: ":package: Ruby dependencies" + command: gem install xcpretty + - label: ":hammer: Unit Tests" command: set -o pipefail && xcodebuild test -scheme SwifterMac -sdk macosx -destination "arch=x86_64" | xcpretty -c -r html \ No newline at end of file From f4887c062d0999b212ab49fd8174f56f0dbfb272 Mon Sep 17 00:00:00 2001 From: Victor Sigler Date: Thu, 10 Jun 2021 11:04:20 -0400 Subject: [PATCH 4/6] Update --- .buildkite/pipeline.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.buildkite/pipeline.yaml b/.buildkite/pipeline.yaml index 5d3ae9b9..465154e5 100644 --- a/.buildkite/pipeline.yaml +++ b/.buildkite/pipeline.yaml @@ -1,6 +1,3 @@ steps: - - label: ":package: Ruby dependencies" - command: gem install xcpretty - - label: ":hammer: Unit Tests" command: set -o pipefail && xcodebuild test -scheme SwifterMac -sdk macosx -destination "arch=x86_64" | xcpretty -c -r html \ No newline at end of file From cb456b1d43d780a34a50cc5d0264266c2d4aa605 Mon Sep 17 00:00:00 2001 From: Victor Sigler Date: Thu, 10 Jun 2021 11:09:38 -0400 Subject: [PATCH 5/6] Print the path --- .buildkite/pipeline.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.buildkite/pipeline.yaml b/.buildkite/pipeline.yaml index 465154e5..67e59aa6 100644 --- a/.buildkite/pipeline.yaml +++ b/.buildkite/pipeline.yaml @@ -1,3 +1,9 @@ steps: + - label: ":package: Ruby dependencies" + command: | + cat ~/.zshrc + source ~/.zshrc + ls -la && gem install xcpretty + - label: ":hammer: Unit Tests" command: set -o pipefail && xcodebuild test -scheme SwifterMac -sdk macosx -destination "arch=x86_64" | xcpretty -c -r html \ No newline at end of file From 792ebd0e5833415fcbcbc3efdbeef27a430f8545 Mon Sep 17 00:00:00 2001 From: Victor Sigler Date: Thu, 10 Jun 2021 11:17:06 -0400 Subject: [PATCH 6/6] Update --- .buildkite/pipeline.yaml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.buildkite/pipeline.yaml b/.buildkite/pipeline.yaml index 67e59aa6..a348b225 100644 --- a/.buildkite/pipeline.yaml +++ b/.buildkite/pipeline.yaml @@ -1,9 +1,16 @@ steps: - label: ":package: Ruby dependencies" command: | - cat ~/.zshrc source ~/.zshrc - ls -la && gem install xcpretty + gem install xcpretty - label: ":hammer: Unit Tests" - command: set -o pipefail && xcodebuild test -scheme SwifterMac -sdk macosx -destination "arch=x86_64" | xcpretty -c -r html \ No newline at end of file + command: | + source ~/.zshrc + cd Xcode + xcodebuild \ + -configuration Debug \ + -scheme SwifteriOS \ + -sdk iphonesimulator \ + -destination 'platform=iOS Simulator,name=iPhone 12,OS=14.4' \ + clean build test | xcpretty --color --report junit \ No newline at end of file