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

Switch to python 3.12 on M1 Apple

parent b87a1e3c
No related branches found
No related tags found
No related merge requests found
Pipeline #24071 failed
...@@ -51,7 +51,7 @@ build-3.9-macos: ...@@ -51,7 +51,7 @@ build-3.9-macos:
paths: paths:
- dist3/ - dist3/
build-3.9-macos-m1: build-3.12-macos-m1:
stage: stage:
build build
tags: tags:
...@@ -60,7 +60,7 @@ build-3.9-macos-m1: ...@@ -60,7 +60,7 @@ build-3.9-macos-m1:
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.9 . - virtualenv -p python3.12 .
- source bin/activate - source bin/activate
- python setup.py bdist_wheel --dist-dir dist3 - python setup.py bdist_wheel --dist-dir dist3
artifacts: artifacts:
...@@ -110,17 +110,17 @@ test-3.9-macos: ...@@ -110,17 +110,17 @@ test-3.9-macos:
- cd tests - cd tests
- python -m unittest discover - python -m unittest discover
test-3.9-macos-m1: test-3.12-macos-m1:
stage: stage:
test test
tags: tags:
- AppleM1 - AppleM1
dependencies: dependencies:
- build-3.9-macos-m1 - build-3.12-macos-m1
needs: [build-3.9-macos-m1] needs: [build-3.12-macos-m1]
script: script:
- export PATH=/opt/local/bin:$PATH - export PATH=/opt/local/bin:$PATH
- virtualenv -p python3.9 . - virtualenv -p python3.12 .
- source bin/activate - source bin/activate
- pip install dist3/*.whl - pip install dist3/*.whl
- cd tests - cd tests
...@@ -170,14 +170,14 @@ deploy-3.9-macos: ...@@ -170,14 +170,14 @@ deploy-3.9-macos:
paths: paths:
- release/*.whl - release/*.whl
deploy-3.9-macos-m1: deploy-3.12-macos-m1:
stage: stage:
deploy deploy
tags: tags:
- AppleM1 - AppleM1
dependencies: dependencies:
- build-3.9-macos-m1 - build-3.12-macos-m1
needs: [build-3.9-macos-m1] needs: [build-3.12-macos-m1]
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