Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
monticore
EmbeddedMontiArc
applications
MNISTCalculator
Commits
11c5073a
Commit
11c5073a
authored
Nov 12, 2020
by
Julian Johannes Steinsberger-Dührßen
Browse files
Update .gitlab-ci.yml
parent
20960e0e
Pipeline
#359573
passed with stage
in 2 minutes and 48 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
11c5073a
...
...
@@ -3,26 +3,26 @@
stages
:
-
linux
TestMXNET
:
stage
:
linux
image
:
registry.git.rwth-aachen.de/monticore/embeddedmontiarc/applications/mnistcalculator/mxnet:v0.0.5
script
:
-
cd mxnet
-
chmod +x build.sh
-
./build.sh
-
RES=$(./build/src/cpp/DigitCalculator resources/images/1.png resources/images/2.png resources/images/3.png resources/images/4.png resources/images/5.png resources/images/6.png)
-
"
if
[[
$RES
!=
*
\"
SUM:
579
\"
*
]];
then
echo
\"
Wrong
result:
\"
$RES;
exit
1;
fi;"
TestCAFFE2
:
stage
:
linux
image
:
registry.git.rwth-aachen.de/monticore/embeddedmontiarc/applications/mnistcalculator/caffe2:v0.0.2
script
:
-
cd caffe2
-
chmod +x build.sh
-
./build.sh
-
RES=$(./build/src/cpp/DigitCalculator resources/images/2.jpg resources/images/3.jpg resources/images/4.png resources/images/6.png resources/images/2.jpg resources/images/3.jpg)
-
"
if
[[
$RES
!=
*
\"
SUM:
857
\"
*
]];
then
echo
\"
Wrong
result:
\"
$RES;
exit
1;
fi;"
#
TestMXNET:
#
stage: linux
#
image: registry.git.rwth-aachen.de/monticore/embeddedmontiarc/applications/mnistcalculator/mxnet:v0.0.5
#
script:
#
- cd mxnet
#
- chmod +x build.sh
#
- ./build.sh
#
- RES=$(./build/src/cpp/DigitCalculator resources/images/1.png resources/images/2.png resources/images/3.png resources/images/4.png resources/images/5.png resources/images/6.png)
#
- "if [[ $RES != *\"SUM: 579\"* ]]; then echo \"Wrong result:\" $RES; exit 1; fi;"
#
TestCAFFE2:
#
stage: linux
#
image: registry.git.rwth-aachen.de/monticore/embeddedmontiarc/applications/mnistcalculator/caffe2:v0.0.2
#
script:
#
- cd caffe2
#
- chmod +x build.sh
#
- ./build.sh
#
- RES=$(./build/src/cpp/DigitCalculator resources/images/2.jpg resources/images/3.jpg resources/images/4.png resources/images/6.png resources/images/2.jpg resources/images/3.jpg)
#
- "if [[ $RES != *\"SUM: 857\"* ]]; then echo \"Wrong result:\" $RES; exit 1; fi;"
TestGLUON
:
stage
:
linux
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment