Loading .gitlab-ci.yml 0 → 100644 +53 −0 Original line number Diff line number Diff line image: python:3.7.0 variables: DEBIAN_FRONTEND: noninteractive stages: - build - install - package build: stage: build script: - apt-get update - apt-get install -y cmake - mkdir build - cd build - cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=${CI_PROJECT_DIR}/install .. - make artifacts: paths: - build expire_in: 1 week install: stage: install script: - cd build - make install artifacts: paths: - install expire_in: 1 week package:zip: stage: package script: - apt-get update - apt-get install -y zip - cd install - zip -r ../TS4RemoteControl-${CI_COMMIT_REF_SLUG}.zip * artifacts: paths: - TS4RemoteControl-${CI_COMMIT_REF_SLUG}.zip package:tar: stage: package script: - cd install - tar cf ../TS4RemoteControl-${CI_COMMIT_REF_SLUG}.tar.gz * artifacts: paths: - TS4RemoteControl-${CI_COMMIT_REF_SLUG}.tar.gz Loading
.gitlab-ci.yml 0 → 100644 +53 −0 Original line number Diff line number Diff line image: python:3.7.0 variables: DEBIAN_FRONTEND: noninteractive stages: - build - install - package build: stage: build script: - apt-get update - apt-get install -y cmake - mkdir build - cd build - cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=${CI_PROJECT_DIR}/install .. - make artifacts: paths: - build expire_in: 1 week install: stage: install script: - cd build - make install artifacts: paths: - install expire_in: 1 week package:zip: stage: package script: - apt-get update - apt-get install -y zip - cd install - zip -r ../TS4RemoteControl-${CI_COMMIT_REF_SLUG}.zip * artifacts: paths: - TS4RemoteControl-${CI_COMMIT_REF_SLUG}.zip package:tar: stage: package script: - cd install - tar cf ../TS4RemoteControl-${CI_COMMIT_REF_SLUG}.tar.gz * artifacts: paths: - TS4RemoteControl-${CI_COMMIT_REF_SLUG}.tar.gz