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
Commits
e77e32a4
Commit
e77e32a4
authored
1 year ago
by
Maxence Naud
Browse files
Options
Downloads
Patches
Plain Diff
[tmp] remove windows CI
parent
c2eb9b34
No related branches found
No related tags found
1 merge request
!50
version 0.2.0
Pipeline
#39336
failed
1 year ago
Stage: build
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab/ci/build.gitlab-ci.yml
+69
-69
69 additions, 69 deletions
.gitlab/ci/build.gitlab-ci.yml
.gitlab/ci/test.gitlab-ci.yml
+20
-20
20 additions, 20 deletions
.gitlab/ci/test.gitlab-ci.yml
with
89 additions
and
89 deletions
.gitlab/ci/build.gitlab-ci.yml
+
69
−
69
View file @
e77e32a4
...
@@ -143,72 +143,72 @@ build:ubuntu_python:
...
@@ -143,72 +143,72 @@ build:ubuntu_python:
paths
:
paths
:
-
venv/
-
venv/
build:windows_cpp
:
#
build:windows_cpp:
stage
:
build
#
stage: build
needs
:
[]
#
needs: []
tags
:
#
tags:
-
windows
#
- windows
image
:
buildtools
#
image: buildtools
before_script
:
#
before_script:
# Install Chocolatey
#
# 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'))
#
- 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 cmake.install --installargs '"ADD_CMAKE_TO_PATH=System"' -Y
#
- choco install cmake.install --installargs '"ADD_CMAKE_TO_PATH=System"' -Y
-
choco install git -Y
#
- choco install git -Y
-
choco install python -Y
#
- choco install python -Y
# Update PATH
#
# Update PATH
-
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
#
- $env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
script
:
#
script:
# Download dependencies
#
# Download dependencies
# aidge_core
#
# aidge_core
-
$DEPENDENCY_NAME="aidge_core"
#
- $DEPENDENCY_NAME="aidge_core"
-
$DEPENDENCY_JOB="build:windows_cpp"
#
- $DEPENDENCY_JOB="build:windows_cpp"
-
!reference
[
.download_dependency_windows
,
script
]
#
- !reference [.download_dependency_windows, script]
-
Remove-Item .\build_cpp\ -Recurse -Force -ErrorAction Ignore
#
- Remove-Item .\build_cpp\ -Recurse -Force -ErrorAction Ignore
-
$env:CMAKE_PREFIX_PATH = '../install_cpp'
#
- $env:CMAKE_PREFIX_PATH = '../install_cpp'
-
mkdir -p build_cpp
#
- mkdir -p build_cpp
-
cd build_cpp
#
- cd build_cpp
-
cmake -DCMAKE_INSTALL_PREFIX:PATH=../install_cpp -DCMAKE_BUILD_TYPE=Debug ..
#
- cmake -DCMAKE_INSTALL_PREFIX:PATH=../install_cpp -DCMAKE_BUILD_TYPE=Debug ..
-
cmake --build . -j2
#
- cmake --build . -j2
-
cmake --install . --config Debug
#
- cmake --install . --config Debug
artifacts
:
#
artifacts:
expire_in
:
1 week
#
expire_in: 1 week
paths
:
#
paths:
-
build_cpp/
#
- build_cpp/
-
install_cpp/
#
- install_cpp/
build:windows_python
:
#
build:windows_python:
stage
:
build
#
stage: build
needs
:
[]
#
needs: []
tags
:
#
tags:
-
windows
#
- windows
image
:
buildtools
#
image: buildtools
before_script
:
#
before_script:
# Install Chocolatey
#
# 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'))
#
- 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 cmake.install --installargs '"ADD_CMAKE_TO_PATH=System"' -Y
#
- choco install cmake.install --installargs '"ADD_CMAKE_TO_PATH=System"' -Y
-
choco install git -Y
#
- choco install git -Y
-
choco install python -Y
#
- choco install python -Y
# Update PATH
#
# Update PATH
-
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
#
- $env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
script
:
#
script:
# Download dependencies
#
# Download dependencies
# aidge_core (Python)
#
# aidge_core (Python)
-
$DEPENDENCY_NAME="aidge_core"
#
- $DEPENDENCY_NAME="aidge_core"
-
$DEPENDENCY_JOB="build:windows_python"
#
- $DEPENDENCY_JOB="build:windows_python"
-
!reference
[
.download_dependency_windows
,
script
]
#
- !reference [.download_dependency_windows, script]
-
python -m pip install virtualenv
#
- python -m pip install virtualenv
-
virtualenv venv
#
- virtualenv venv
-
venv\Scripts\Activate.ps1
#
- venv\Scripts\Activate.ps1
-
python -m pip install -r requirements.txt
#
- python -m pip install -r requirements.txt
-
python -m pip install .
#
- python -m pip install .
artifacts
:
#
artifacts:
expire_in
:
1 week
#
expire_in: 1 week
paths
:
#
paths:
-
venv/
#
- venv/
This diff is collapsed.
Click to expand it.
.gitlab/ci/test.gitlab-ci.yml
+
20
−
20
View file @
e77e32a4
...
@@ -26,23 +26,23 @@ test:ubuntu_python:
...
@@ -26,23 +26,23 @@ test:ubuntu_python:
reports
:
reports
:
junit
:
${CI_PROJECT_NAME}/xmlrunner-results.xml
junit
:
${CI_PROJECT_NAME}/xmlrunner-results.xml
test:windows_cpp
:
#
test:windows_cpp:
stage
:
test
#
stage: test
needs
:
[
"
build:windows_cpp"
]
#
needs: ["build:windows_cpp"]
tags
:
#
tags:
-
windows
#
- windows
image
:
buildtools
#
image: buildtools
before_script
:
#
before_script:
# Install Chocolatey
#
# 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'))
#
- 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 cmake.install --installargs '"ADD_CMAKE_TO_PATH=System"' -Y
#
- choco install cmake.install --installargs '"ADD_CMAKE_TO_PATH=System"' -Y
-
choco install python -Y
#
- choco install python -Y
# Update PATH
#
# Update PATH
-
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
#
- $env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
script
:
#
script:
-
cd build_cpp
#
- cd build_cpp
-
ctest --output-junit ctest-results.xml --output-on-failure
#
- ctest --output-junit ctest-results.xml --output-on-failure
artifacts
:
#
artifacts:
reports
:
#
reports:
junit
:
build_cpp/ctest-results.xml
#
junit: build_cpp/ctest-results.xml
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