Added ci workflows

This commit is contained in:
2023-03-15 14:05:24 -04:00
parent 0c8f8ff61f
commit bca44ff133
6 changed files with 86 additions and 119 deletions

View File

@@ -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 \