diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..c1faf4d --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,24 @@ +image: swift:latest + +before_script: + - eval "$(curl -sL https://swiftenv.fuller.li/install.sh)" + +stages: + - build + - test + +build_project: + stage: build + script: + - swift package reset + - swift build + tags: + - swift + +test_project: + stage: test + script: + - swift package reset + - swift test + tags: + - swift \ No newline at end of file