Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
aidge_backend_cpu
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
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
aidge_backend_cpu
Merge requests
!36
Win ci
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Win ci
WinCI
into
dev
Overview
1
Commits
5
Pipelines
7
Changes
2
Merged
Cyril Moineau
requested to merge
WinCI
into
dev
1 year ago
Overview
1
Commits
5
Pipelines
7
Changes
2
Expand
Add windows CI
Move pip install from test phase to build phase
Edited
1 year ago
by
Cyril Moineau
1
0
Merge request reports
Compare
dev
version 5
6831c52a
1 year ago
version 4
7cffe5d4
1 year ago
version 3
11432af3
1 year ago
version 2
d3f7829a
1 year ago
version 1
d3f7829a
1 year ago
dev (base)
and
latest version
latest version
327362fd
5 commits,
1 year ago
version 5
6831c52a
4 commits,
1 year ago
version 4
7cffe5d4
3 commits,
1 year ago
version 3
11432af3
2 commits,
1 year ago
version 2
d3f7829a
1 commit,
1 year ago
version 1
d3f7829a
3 commits,
1 year ago
2 files
+
93
−
90
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
.gitlab/ci/build.gitlab-ci.yml
+
71
−
67
Options
@@ -136,75 +136,79 @@ build:ubuntu_python:
-
source venv/bin/activate
-
python3 -m pip install -r requirements.txt
-
python3 -m pip install .
-
python3 -m pip install numpy unittest-xml-reporting
-
python3 -m pip list
artifacts
:
expire_in
:
1 week
paths
:
-
venv/
# build:windows_cpp:
# stage: build
# needs: []
# tags:
# - windows
# image: buildtools
# before_script:
# # 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 -Y
# # Update PATH
# - $env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
# script:
# # Download dependencies
# # aidge_core
# - 'curl "https://gitlab.eclipse.org/api/v4/projects/5139/jobs/artifacts/main/download?job=build:windows_cpp" -o build_artifacts.zip'
# - Expand-Archive -Path .\build_artifacts.zip -DestinationPath . -Force
# - Remove-Item .\build_cpp\ -Recurse
# - $env:CMAKE_PREFIX_PATH = '../install_cpp'
# - mkdir -p build_cpp
# - cd build_cpp
# - cmake -DCMAKE_INSTALL_PREFIX:PATH=../install_cpp -DCMAKE_BUILD_TYPE=Debug ..
# - cmake --build . -j2
# - cmake --install . --config Debug
# artifacts:
# expire_in: 1 week
# paths:
# - build_cpp/
# - install_cpp/
# build:windows_python:
# stage: build
# needs: []
# tags:
# - windows
# image: buildtools
# before_script:
# # 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 -Y
# # Update PATH
# - $env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
# script:
# # Download dependencies
# # aidge_core (Python)
# - 'curl "https://gitlab.eclipse.org/api/v4/projects/5139/jobs/artifacts/main/download?job=build:windows_python" -o build_artifacts.zip'
# - Expand-Archive -Path .\build_artifacts.zip -DestinationPath . -Force
# - python -m pip install virtualenv
# - virtualenv venv
# - venv\Scripts\Activate.ps1
# - python -m pip install -r requirements.txt
# - python -m pip install .
# artifacts:
# expire_in: 1 week
# paths:
# - venv/
build:windows_cpp
:
stage
:
build
needs
:
[]
tags
:
-
windows
image
:
buildtools
before_script
:
# 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 -Y
# Update PATH
-
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
script
:
# Download dependencies
# aidge_core
-
$DEPENDENCY_NAME="aidge_core"
-
$DEPENDENCY_JOB="build:windows_cpp"
-
!reference
[
.download_dependency_windows
,
script
]
-
Remove-Item .\build_cpp\ -Recurse -Force -ErrorAction Ignore
-
$env:CMAKE_PREFIX_PATH = '../install_cpp'
-
mkdir -p build_cpp
-
cd build_cpp
-
cmake -DCMAKE_INSTALL_PREFIX:PATH=../install_cpp -DCMAKE_BUILD_TYPE=Debug ..
-
cmake --build . -j2
-
cmake --install . --config Debug
artifacts
:
expire_in
:
1 week
paths
:
-
build_cpp/
-
install_cpp/
build:windows_python
:
stage
:
build
needs
:
[]
tags
:
-
windows
image
:
buildtools
before_script
:
# 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 -Y
# Update PATH
-
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
script
:
# Download dependencies
# aidge_core (Python)
-
$DEPENDENCY_NAME="aidge_core"
-
$DEPENDENCY_JOB="build:windows_python"
-
!reference
[
.download_dependency_windows
,
script
]
-
python -m pip install virtualenv
-
virtualenv venv
-
venv\Scripts\Activate.ps1
-
python -m pip install -r requirements.txt
-
python -m pip install .
artifacts
:
expire_in
:
1 week
paths
:
-
venv/
Loading