This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
mesa-framework-mesa-handle-…/.gitlab-ci.yml
2019-05-21 13:03:37 +08:00

35 lines
598 B
YAML

image: "git.mesalab.cn:7443/mesa_framework/framework-build-env:master"
stages:
- build
#- test
- package
#- release
build:
stage: build
script:
- mkdir -p build
- cd build
- cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_PREFIX_PATH=$BUILD_PREFIX
- make
tags:
- share
variables:
BUILD_TYPE: "Debug"
BUILD_PREFIX: "/opt/MESA/"
except:
- tags
package:
stage: package
extends: build
script:
- make package
artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME-debug"
paths:
- ./build/*.rpm
tags:
- share
except:
- tags