forked from dand-oss/python-cmake-buildsystem
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.circleci-matrix.yml
More file actions
22 lines (20 loc) · 785 Bytes
/
.circleci-matrix.yml
File metadata and controls
22 lines (20 loc) · 785 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
env:
- IMAGE=linux-x64 PY_VERSION=3.7.6
- IMAGE=linux-x64 PY_VERSION=3.6.9
- IMAGE=linux-x64 PY_VERSION=3.5.9
- IMAGE=linux-x64 PY_VERSION=2.7.17
- IMAGE=linux-x86 PY_VERSION=3.7.6
- IMAGE=linux-x86 PY_VERSION=3.6.9
- IMAGE=linux-x86 PY_VERSION=3.5.9
- IMAGE=linux-x86 PY_VERSION=2.7.17
command:
- |
if [[ $STEP == "dependencies" ]]; then
ci_addons docker load-pull-save dockcross/$IMAGE
docker run dockcross/$IMAGE > ~/bin/dockcross-$IMAGE; chmod u+x ~/bin/dockcross-$IMAGE
fi
- |
if [[ $STEP == "test" ]]; then
DOCKER_ARGS="-e PY_VERSION=$PY_VERSION -e CIRCLE_SHA1 -e CIRCLE_PR_NUMBER -e CIRCLE_BRANCH -v $HOME/scripts:/usr/scripts"
dockcross-$IMAGE -a "$DOCKER_ARGS" ctest -S /usr/scripts/circle_dashboard.cmake -VV
fi