From d0fee305359e148045b98d062857a6d13a8cfcb2 Mon Sep 17 00:00:00 2001 From: core Date: Thu, 15 Dec 2022 17:04:01 -0500 Subject: [PATCH 1/3] [ci] add ci file to test out ci tests --- .gitlab-ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..c8fdc78 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,10 @@ +compile: + stage: build + script: + - cargo check + - cargo build + +tests: + stage: test + script: + - cargo test \ No newline at end of file From 4884bed3a7759a450eca827b535a6f46b47842da Mon Sep 17 00:00:00 2001 From: core Date: Thu, 15 Dec 2022 17:05:27 -0500 Subject: [PATCH 2/3] [ci] add the correct build image, so it doesnt default to ruby --- .gitlab-ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c8fdc78..a6430e6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,3 +1,6 @@ +default: + image: rust:alpine + compile: stage: build script: From 994fa0fe2c9b61b22afcf5bdaddcd535378dc083 Mon Sep 17 00:00:00 2001 From: core Date: Thu, 15 Dec 2022 17:14:40 -0500 Subject: [PATCH 3/3] [ci] try a different docker image to hopefully have more libs by default --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a6430e6..b9d98c9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,5 @@ default: - image: rust:alpine + image: rust compile: stage: build