feat: Adds ci
Some checks failed
CI / Run tests. (push) Failing after 31s

This commit is contained in:
2024-12-07 09:48:45 -05:00
parent 45ab7ca578
commit 6b670ce5c4
4 changed files with 40 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
docker_image_name := "clidoc"
[private]
default:
@@ -6,6 +7,15 @@ default:
clean:
@rm -rf .build
test-docker: build-docker
@docker run -t --rm {{docker_image_name}}:test swift test
build-docker:
@docker build \
--file docker/Dockerfile.test \
--tag {{docker_image_name}}:test \
.
preview-documentation target="CliDoc":
# using the --enable-experimental-combined-documentation doesn't work in previews currently.
@swift package \