Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
stephencelis committed Mar 12, 2024
1 parent 1379703 commit 7367b6b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ jobs:
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
- name: Print Swift version
run: swift --version
- name: Run tests (Swift)
run: make test-swift
- name: Run tests (platforms)
run: make test-platforms

Expand All @@ -45,8 +43,6 @@ jobs:
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
- name: Print Swift version
run: swift --version
- name: Run tests (Swift)
run: make test-swift
- name: Run tests (platforms)
run: make test-platforms

Expand Down
9 changes: 3 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@ PLATFORM_IOS = iOS Simulator,name=iPhone 11 Pro Max
PLATFORM_MACOS = macOS
PLATFORM_MAC_CATALYST = macOS,variant=Mac Catalyst
PLATFORM_TVOS = tvOS Simulator,name=Apple TV
SWIFT_VERSION = 5.5
ifeq ($(SWIFT_VERSION),5.3)
SWIFT_BUILD_ARGS = --enable-test-discovery
endif
SWIFT_VERSION = 5.7
SWIFT_TEST_ARGS = --parallel

test-all: test-linux test-swift test-platforms
Expand All @@ -19,8 +16,8 @@ test-linux:
bash -c 'apt-get update && apt-get -y install make && make test-swift SWIFT_VERSION=$(SWIFT_VERSION)'

test-swift:
swift test $(SWIFT_BUILD_ARGS) $(SWIFT_TEST_ARGS)
swift test --configuration release $(SWIFT_BUILD_ARGS) $(SWIFT_TEST_ARGS)
swift test $(SWIFT_TEST_ARGS)
swift test --configuration release $(SWIFT_TEST_ARGS)

test-platforms:
xcodebuild test \
Expand Down

0 comments on commit 7367b6b

Please sign in to comment.