Add build and test CI jobs

This commit is contained in:
Ethan Girouard 2023-12-29 00:48:46 -05:00
parent 46ff5dfe7c
commit 0e430d5793
Signed by: eta357
GPG Key ID: 7BCDC36DFD11C146

17
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,17 @@
stages:
- build
- test
# Build the project
build:
stage: build
image: registry.mregirouard.com/libretunes/ops/docker-leptos:slim
script:
- cargo-leptos build
# Run unit tests
test:
stage: test
image: registry.mregirouard.com/libretunes/ops/docker-leptos:slim
script:
- cargo-leptos test