Skip to content
Snippets Groups Projects
Commit d238cf10 authored by Jan Möbius's avatar Jan Möbius
Browse files

Changed old macos from python 3.5 to 3.9 to support more recent pybind

parent 45d0cd51
No related branches found
No related tags found
1 merge request!6Pybind update
Pipeline #20368 passed
...@@ -35,7 +35,7 @@ build-3.9-linux: ...@@ -35,7 +35,7 @@ build-3.9-linux:
paths: paths:
- dist3/ - dist3/
build-3.5-macos: build-3.9-macos:
stage: stage:
build build
tags: tags:
...@@ -44,7 +44,7 @@ build-3.5-macos: ...@@ -44,7 +44,7 @@ build-3.5-macos:
GIT_SUBMODULE_STRATEGY: recursive GIT_SUBMODULE_STRATEGY: recursive
script: script:
- export PATH=/opt/local/bin:$PATH - export PATH=/opt/local/bin:$PATH
- virtualenv -p python3.5 . - virtualenv -p python3.9 .
- source bin/activate - source bin/activate
- python setup.py bdist_wheel --dist-dir dist3 - python setup.py bdist_wheel --dist-dir dist3
artifacts: artifacts:
...@@ -94,17 +94,17 @@ test-3.9-linux: ...@@ -94,17 +94,17 @@ test-3.9-linux:
- cd tests - cd tests
- python -m unittest discover - python -m unittest discover
test-3.5-macos: test-3.9-macos:
stage: stage:
test test
tags: tags:
- Apple - Apple
dependencies: dependencies:
- build-3.5-macos - build-3.9-macos
needs: [build-3.5-macos] needs: [build-3.9-macos]
script: script:
- export PATH=/opt/local/bin:$PATH - export PATH=/opt/local/bin:$PATH
- virtualenv -p python3.5 . - virtualenv -p python3.9 .
- source bin/activate - source bin/activate
- pip install dist3/*.whl - pip install dist3/*.whl
- cd tests - cd tests
...@@ -155,14 +155,14 @@ deploy-3.9-linux: ...@@ -155,14 +155,14 @@ deploy-3.9-linux:
paths: paths:
- release/*.whl - release/*.whl
deploy-3.5-macos: deploy-3.9-macos:
stage: stage:
deploy deploy
tags: tags:
- Apple - Apple
dependencies: dependencies:
- build-3.5-macos - build-3.9-macos
needs: [build-3.5-macos] needs: [build-3.9-macos]
script: script:
- mkdir release - mkdir release
- cp dist3/*.whl release - cp dist3/*.whl release
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment