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:
paths:
- dist3/
build-3.9-macos-m1:
build-3.12-macos-m1:
stage:
build
tags:
......@@ -60,7 +60,7 @@ build-3.9-macos-m1:
GIT_SUBMODULE_STRATEGY: recursive
script:
- export PATH=/opt/local/bin:$PATH
- virtualenv -p python3.9 .
- virtualenv -p python3.12 .
- source bin/activate
- python setup.py bdist_wheel --dist-dir dist3
artifacts:
......@@ -110,17 +110,17 @@ test-3.9-macos:
- cd tests
- python -m unittest discover
test-3.9-macos-m1:
test-3.12-macos-m1:
stage:
test
tags:
- AppleM1
dependencies:
- build-3.9-macos-m1
needs: [build-3.9-macos-m1]
- build-3.12-macos-m1
needs: [build-3.12-macos-m1]
script:
- export PATH=/opt/local/bin:$PATH
- virtualenv -p python3.9 .
- virtualenv -p python3.12 .
- source bin/activate
- pip install dist3/*.whl
- cd tests
......@@ -170,14 +170,14 @@ deploy-3.9-macos:
paths:
- release/*.whl
deploy-3.9-macos-m1:
deploy-3.12-macos-m1:
stage:
deploy
tags:
- AppleM1
dependencies:
- build-3.9-macos-m1
needs: [build-3.9-macos-m1]
- build-3.12-macos-m1
needs: [build-3.12-macos-m1]
script:
- mkdir release
- cp dist3/*.whl release
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment