This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove watchOS scheme and add job to run tests on Linux
- Loading branch information
1 parent
672f7a7
commit c17d8df
Showing
4 changed files
with
22 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
67 changes: 0 additions & 67 deletions
67
.swiftpm/xcode/xcshareddata/xcschemes/SwiftCommonMark-watchOS.xcscheme
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,19 @@ | ||
default: test build_watchOS | ||
test-all: test-linux test-swift | ||
|
||
test: | ||
swift test | ||
test-linux: | ||
docker run \ | ||
--rm \ | ||
-v "$(PWD):$(PWD)" \ | ||
-w "$(PWD)" \ | ||
swift:5.3 \ | ||
bash -c 'make test-swift' | ||
|
||
build_watchOS: | ||
xcodebuild \ | ||
-scheme SwiftCommonMark-watchOS \ | ||
-destination 'generic/platform=watchOS' | ||
test-swift: | ||
swift test \ | ||
--enable-test-discovery \ | ||
--parallel | ||
|
||
format: | ||
swift format --in-place --recursive . | ||
|
||
.PHONY: format | ||
.PHONY: format test-all test-linux test-swift |