Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
gitlab_shared_files
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eclipse Projects
aidge
gitlab_shared_files
Commits
437afc1a
Commit
437afc1a
authored
3 months ago
by
Maxence Naud
Browse files
Options
Downloads
Patches
Plain Diff
add back windows pip for tests
parent
467153cb
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab/ci/release/cibuildwheel_windows.gitlab-ci.yml
+34
-15
34 additions, 15 deletions
.gitlab/ci/release/cibuildwheel_windows.gitlab-ci.yml
with
34 additions
and
15 deletions
.gitlab/ci/release/cibuildwheel_windows.gitlab-ci.yml
+
34
−
15
View file @
437afc1a
...
...
@@ -9,30 +9,47 @@ release:pip:windows:
# temporary rules until https://gitlab.eclipse.org/eclipse/aidge/aidge/-/issues/136 is closed
rules
:
-
when
:
never
-
if
:
$CI_COMMIT_BRANCH == "main"
# Only run on the main branch
-
if
:
$CI_COMMIT_TAG
# Or if a tag is pushed
-
if
:
$CI_COMMIT_BRANCH == "dev"
# Allow manual runs on the dev branch
when
:
manual
needs
:
-
build:windows_python
parallel
:
matrix
:
-
CIBW_BUILD
:
"
cp38-win_amd64"
-
CIBW_BUILD
:
"
cp39-win_amd64"
#
- CIBW_BUILD: "cp38-win_amd64"
#
- CIBW_BUILD: "cp39-win_amd64"
-
CIBW_BUILD
:
"
cp310-win_amd64"
# - CIBW_BUILD: "cp311-win_amd64"
# - CIBW_BUILD: "cp312-win_amd64"
# before_script:
# - (Get-WmiObject -Class Win32_OperatingSystem).OSArchitecture
# - (Get-WmiObject -Class Win32_OperatingSystem).Caption
# - $PSVersionTable.PSVersion
# # Install Chocolatey
# - Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
# # Install dependencies
# - choco install cmake.install --installargs '"ADD_CMAKE_TO_PATH=System"' -Y
# - choco install git -Y
# - choco install python --version=$python_version -Y
# # Update PATH
# - $env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
# - python -m pip install cibuildwheel==2.17.0
# # Download repositories
# - $DEPENDENCY_JOB="build:windows_python"
# - !reference [.windows:download:repositories, before_script]
before_script
:
-
(Get-WmiObject -Class Win32_OperatingSystem).OSArchitecture
-
(Get-WmiObject -Class Win32_OperatingSystem).Caption
-
$PSVersionTable.PSVersion
# Install Chocolatey
-
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
# Install dependencies
# # Install dependencies
-
choco install python -y --version 3.12.4
-
choco install cmake.install --installargs '"ADD_CMAKE_TO_PATH=System"' -Y
-
choco install git -Y
-
choco install python --version=$python_version -Y
# Update PATH
-
choco install git.install -y
-
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
-
py
thon
-m pip install cibuildwheel==2.
17
.0
-
py -m pip install cibuildwheel==2.
22
.0
# Download repositories
-
$DEPENDENCY_JOB="build:windows_python"
-
!reference
[
.windows
:
download
:
repositories
,
before_script
]
...
...
@@ -41,7 +58,9 @@ release:pip:windows:
-
python -m cibuildwheel --output-dir wheelhouse --platform windows
# deploy:pip:windows:
# allow_failure: true # temporary rules until https://gitlab.eclipse.org/eclipse/aidge/aidge/-/issues/136 is closed
# extends:
# - .deploy:pip:windows:template
deploy:pip:windows
:
allow_failure
:
true
# temporary rules until https://gitlab.eclipse.org/eclipse/aidge/aidge/-/issues/136 is closed
extends
:
-
.deploy:pip:windows:template
rules
:
-
if
:
$CI_COMMIT_TAG
# Deploy only for tagged commits
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment