com.unity.formats.alembic/.gitlab-ci.yml

102 строки
2.0 KiB
YAML
Исходник Обычный вид История

# build needs to be able to find the following libraries:
# - OpenEXR(libHalf.dylib libHalf.a)
# - HDF5(hdf5.a)
# - Alembic (libAlembic.a)
# sourcedir needs submodule initialization (to compile googletest)
# - git submodule update --init --recursive
2018-04-03 23:25:39 +03:00
image: node:6.10.0
variables:
GIT_SUBMODULE_STRATEGY: recursive
2018-04-03 23:25:39 +03:00
stages:
2018-04-04 01:12:08 +03:00
- build
2018-05-03 00:35:46 +03:00
- test
#- push_to_packman_staging
2018-04-03 23:25:39 +03:00
build:mac:
stage: build
tags:
2018-07-09 23:20:36 +03:00
- mac
script:
2018-07-10 17:27:40 +03:00
- ./build.sh
2018-05-01 23:28:51 +03:00
artifacts:
name: "$CI_JOB_STAGE-$CI_COMMIT_REF_NAME"
paths:
- External/install
- build/install
2018-07-09 23:20:36 +03:00
expire_in: 1 hour
# Important! Do not remove this after_script as the VM will live for 12 hours before being destroyed!
after_script:
- /opt/post_build_script.sh
build:win:
2018-04-04 01:12:08 +03:00
stage: build
tags:
2018-07-09 23:32:26 +03:00
- win
script:
2018-07-10 17:27:40 +03:00
- build.cmd
2018-05-01 23:28:51 +03:00
artifacts:
name: "%CI_JOB_STAGE%-%CI_COMMIT_REF_NAME%"
paths:
- External/install
- build/install
2018-07-09 23:32:26 +03:00
expire_in: 1 hour
# Important! Do not remove this after_script as the VM will live for 12 hours before being destroyed!
after_script:
- C:\Users\builduser\post_build_script.bat
build:lin:
stage: build
tags:
- lin
script:
- ./build.sh
2018-05-01 23:28:51 +03:00
artifacts:
name: "$CI_JOB_STAGE-$CI_COMMIT_REF_NAME"
paths:
- External/install
- build/install
expire_in: 1 hour
# Important! Do not remove this after_script as the VM will live for 12 hours before being destroyed!
after_script:
- /opt/post_build_script.sh
test:mac:
stage: test
2018-05-02 01:06:15 +03:00
tags:
2018-07-09 23:20:36 +03:00
- mac
script:
- npm test
2018-05-01 23:28:51 +03:00
dependencies:
- build:mac
2018-05-01 23:28:51 +03:00
test:win:
stage: test
2018-05-02 01:09:30 +03:00
tags:
- win
script:
- npm test
2018-05-01 23:28:51 +03:00
dependencies:
- build:win
2018-05-01 23:28:51 +03:00
test:lin:
2018-04-04 01:12:08 +03:00
stage: test
tags:
- lin
script:
- npm test
2018-05-01 23:28:51 +03:00
dependencies:
- build:lin
2018-05-01 23:28:51 +03:00
#push_to_packman_staging:
# stage: push_to_packman_staging
# only:
# - /^v\d*$/
# except:
# - branches
# script:
# - curl -u $USER_NAME:$API_KEY https://staging-packages.unity.com/auth > .npmrc
# - npm publish