43 lines
727 B
YAML
43 lines
727 B
YAML
variables:
|
|
GIT_SUBMODULE_STRATEGY: normal
|
|
|
|
before_script:
|
|
|
|
stages:
|
|
- build
|
|
- test
|
|
|
|
build:
|
|
image: sh.matthewgong.com:5432/matt/gitlab-ci-matlab
|
|
stage: build
|
|
script:
|
|
- sh Gitlab_CI_Hook.sh
|
|
cache:
|
|
key: mex-cache
|
|
paths:
|
|
- "*.mexa64"
|
|
policy: push
|
|
tags:
|
|
- matlab
|
|
|
|
test:
|
|
image: sh.matthewgong.com:5432/matt/gitlab-ci-matlab
|
|
stage: test
|
|
script:
|
|
- cd test
|
|
- sh Gitlab_CI_Hook.sh
|
|
cache:
|
|
key: mex-cache
|
|
paths:
|
|
- "*.mexa64"
|
|
policy: pull
|
|
artifacts:
|
|
name: test_report
|
|
paths:
|
|
- test/*.zip
|
|
- "*.zip"
|
|
- test/log.txt
|
|
tags:
|
|
- matlab
|
|
|