From e6f47cbc27104fec75f2e29a43d43512b33b3ba0 Mon Sep 17 00:00:00 2001
From: Jeremy Soller <jackpot51@gmail.com>
Date: Wed, 1 Mar 2023 10:42:45 -0700
Subject: [PATCH] Fix build:linux gitlab CI

---
 .gitlab-ci.yml | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7fb23fe6..fc75b74d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,16 +1,13 @@
 image: "redoxos/redoxer:latest"
 
+variables:
+  GIT_SUBMODULE_STRATEGY: recursive
+
 stages:
     - build
     - test
 
 default:
-    before_script:
-        - apt-get update -qq
-        - apt-get install -qq git
-        - git submodule sync --recursive
-        - git submodule update --init --recursive
-
     cache:
         paths:
             - target/
@@ -18,8 +15,6 @@ default:
 build:linux:
     stage: build
     script:
-        - rustup toolchain add "$(cat rust-toolchain)"
-        - rustup component add rust-src
         - rustup show      # Print version info for debugging
         - make -j "$(nproc)" all
 
-- 
GitLab