Added ci workflows
This commit is contained in:
11
Makefile
11
Makefile
@@ -1,3 +1,5 @@
|
||||
PLATFORM_MACOS = macOS
|
||||
CONFIG := debug
|
||||
DOCC_TARGET ?= CliVersion
|
||||
DOCC_BASEPATH = $(shell basename "$(PWD)")
|
||||
DOCC_DIR ?= ./docs
|
||||
@@ -28,6 +30,15 @@ test-linux:
|
||||
swift:5.7-focal \
|
||||
swift test
|
||||
|
||||
test-library:
|
||||
for platform in "$(PLATFORM_MACOS)"; do \
|
||||
xcodebuild test \
|
||||
-configuration $(CONFIG) \
|
||||
-workspace .swiftpm/xcode/package.xcworkspace \
|
||||
-scheme swift-cli-version-Package \
|
||||
-destination platform="$$platform" || exit 1; \
|
||||
done;
|
||||
|
||||
update-version:
|
||||
swift package \
|
||||
--disable-sandbox \
|
||||
|
||||
Reference in New Issue
Block a user