From 88555c04635165114e3f6f251663eeb4f0d29b45 Mon Sep 17 00:00:00 2001 From: Bret Curtis Date: Fri, 22 Jun 2018 15:20:38 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 40 +++++++++++++++++++--------------------- 1 file changed, 19 insertions(+), 21 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7e156275f9..80a6c4cdbf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,25 +21,23 @@ linux-stable: - curl http://ftp.us.debian.org/debian/pool/main/m/mygui/libmygui-dev_3.2.2+dfsg-1_amd64.deb -o libmygui-dev_3.2.2+dfsg-1_amd64.deb - dpkg --ignore-depends=libmygui.ogreplatform0debian1v5 -i *.deb - build: - stage: build - script: - - cores_to_use=$((`nproc`-2)); if (( $cores_to_use < 1 )); then cores_to_use=1; fi - - mkdir build; cd build; cmake -DCMAKE_BUILD_TYPE=MinSizeRel ../ - - make -j$cores_to_use - - DESTDIR=artifacts make install - artifacts: - paths: - - build/artifacts/ -darwin: - build: - stage: build - script: - - cores_to_use=$((`nproc`-2)); if (( $cores_to_use < 1 )); then cores_to_use=1; fi - - mkdir build; cd build; cmake -DCMAKE_BUILD_TYPE=MinSizeRel ../ - - make -j$cores_to_use - - DESTDIR=artifacts make install - artifacts: - paths: - - build/artifacts/ + stage: build + script: + - cores_to_use=$((`nproc`-2)); if (( $cores_to_use < 1 )); then cores_to_use=1; fi + - mkdir build; cd build; cmake -DCMAKE_BUILD_TYPE=MinSizeRel ../ + - make -j$cores_to_use + - DESTDIR=artifacts make install + artifacts: + paths: + - build/artifacts/ +darwin: + stage: build + script: + - cores_to_use=$((`nproc`-2)); if (( $cores_to_use < 1 )); then cores_to_use=1; fi + - mkdir build; cd build; cmake -DCMAKE_BUILD_TYPE=MinSizeRel ../ + - make -j$cores_to_use + - DESTDIR=artifacts make install + artifacts: + paths: + - build/artifacts/ \ No newline at end of file