Update the git and svn clone

This commit is contained in:
2022-12-24 17:50:35 +01:00
parent 6e780c976c
commit 5281d009eb
2 changed files with 7 additions and 6 deletions
+6 -3
View File
@@ -16,10 +16,13 @@ update:
cache: cache:
key: blender-source key: blender-source
script: script:
- mkdir /opt/blender-git -p - mkdir -p /opt/blender-git/lib
- cd /opt/blender-git - cd /opt/blender-git
- clone https://git.blender.org/blender.git - git clone https://git.blender.org/blender.git
- svn checkout - cd /opt/blender-git/blender
- git submodule update --init --recursive
- cd /opt/blender-git/lib
- svn checkout https://svn.blender.org/svnroot/bf-blender/trunk/lib/linux_centos7_x86_64
build: build:
rules: rules:
+1 -3
View File
@@ -40,9 +40,7 @@ RUN cd /opt/blender-git/ \
&& git config --global user.name "Aurelien Vaillant" \ && git config --global user.name "Aurelien Vaillant" \
&& mkdir /opt/blender-git/lib \ && mkdir /opt/blender-git/lib \
&& cd /opt/blender-git/lib \ && cd /opt/blender-git/lib \
&& svn checkout -r${subversion} https://svn.blender.org/svnroot/bf-blender/trunk/lib/linux_centos7_x86_64 \ && svn checkout -r${subversion} \
&& cd /opt/blender-git/blender \
&& git submodule update --init --recursive \
&& make && make
# Setup a Multistage optimisation # Setup a Multistage optimisation