Commit 586950c4 authored by Isaak Lim's avatar Isaak Lim

split linux and macos CI jobs

parent 399cf0bf
Pipeline #6211 failed with stages
in 23 minutes and 10 seconds
...@@ -3,11 +3,25 @@ stages: ...@@ -3,11 +3,25 @@ stages:
- test - test
- deploy - deploy
build-3.5-linux-macos: build-3.5-linux:
stage: stage:
build build
tags: tags:
- Linux - Linux
variables:
GIT_SUBMODULE_STRATEGY: recursive
script:
- virtualenv --clear -p python3.5 .
- source bin/activate
- python setup.py bdist_wheel --dist-dir dist3
artifacts:
paths:
- dist3/
build-3.5-macos:
stage:
build
tags:
- Apple - Apple
variables: variables:
GIT_SUBMODULE_STRATEGY: recursive GIT_SUBMODULE_STRATEGY: recursive
...@@ -20,11 +34,25 @@ build-3.5-linux-macos: ...@@ -20,11 +34,25 @@ build-3.5-linux-macos:
paths: paths:
- dist3/ - dist3/
build-2.7-linux-macos: build-2.7-linux:
stage: stage:
build build
tags: tags:
- Linux - Linux
variables:
GIT_SUBMODULE_STRATEGY: recursive
script:
- virtualenv --clear -p python2.7 .
- source bin/activate
- python setup.py bdist_wheel --dist-dir dist2
artifacts:
paths:
- dist2/
build-2.7-macos:
stage:
build
tags:
- Apple - Apple
variables: variables:
GIT_SUBMODULE_STRATEGY: recursive GIT_SUBMODULE_STRATEGY: recursive
...@@ -37,14 +65,27 @@ build-2.7-linux-macos: ...@@ -37,14 +65,27 @@ build-2.7-linux-macos:
paths: paths:
- dist2/ - dist2/
test-3.5-linux-macos: test-3.5-linux:
stage: stage:
test test
tags: tags:
- Linux - Linux
dependencies:
- build-3.5-linux
script:
- virtualenv --clear -p python3.5 .
- source bin/activate
- pip install dist3/*.whl
- cd tests
- python -m unittest discover
test-3.5-macos:
stage:
test
tags:
- Apple - Apple
dependencies: dependencies:
- build-3.5-linux-macos - build-3.5-macos
script: script:
- export PATH=/opt/local/bin:$PATH - export PATH=/opt/local/bin:$PATH
- virtualenv --clear -p python3.5 . - virtualenv --clear -p python3.5 .
...@@ -53,14 +94,27 @@ test-3.5-linux-macos: ...@@ -53,14 +94,27 @@ test-3.5-linux-macos:
- cd tests - cd tests
- python -m unittest discover - python -m unittest discover
test-2.7-linux-macos: test-2.7-linux:
stage: stage:
test test
tags: tags:
- Linux - Linux
dependencies:
- build-2.7-linux
script:
- virtualenv --clear -p python2.7 .
- source bin/activate
- pip install dist2/*.whl
- cd tests
- python -m unittest discover
test-2.7-macos:
stage:
test
tags:
- Apple - Apple
dependencies: dependencies:
- build-2.7-linux-macos - build-2.7-macos
script: script:
- export PATH=/opt/local/bin:$PATH - export PATH=/opt/local/bin:$PATH
- virtualenv --clear -p python2.7 . - virtualenv --clear -p python2.7 .
...@@ -69,14 +123,27 @@ test-2.7-linux-macos: ...@@ -69,14 +123,27 @@ test-2.7-linux-macos:
- cd tests - cd tests
- python -m unittest discover - python -m unittest discover
deploy-3.5-linux-macos: deploy-3.5-linux:
stage: stage:
deploy deploy
tags: tags:
- Linux - Linux
dependencies:
- build-3.5-linux
script:
- mkdir release
- cp dist3/*.whl release
artifacts:
paths:
- release/*.whl
deploy-3.5-macos:
stage:
deploy
tags:
- Apple - Apple
dependencies: dependencies:
- build-3.5-linux-macos - build-3.5-macos
script: script:
- mkdir release - mkdir release
- cp dist3/*.whl release - cp dist3/*.whl release
...@@ -84,14 +151,27 @@ deploy-3.5-linux-macos: ...@@ -84,14 +151,27 @@ deploy-3.5-linux-macos:
paths: paths:
- release/*.whl - release/*.whl
deploy-2.7-linux-macos: deploy-2.7-linux:
stage: stage:
deploy deploy
tags: tags:
- Linux - Linux
dependencies:
- build-2.7-linux
script:
- mkdir release
- cp dist2/*.whl release
artifacts:
paths:
- release/*.whl
deploy-2.7-macos:
stage:
deploy
tags:
- Apple - Apple
dependencies: dependencies:
- build-2.7-linux-macos - build-2.7-macos
script: script:
- mkdir release - mkdir release
- cp dist2/*.whl release - cp dist2/*.whl release
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment