Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
mdbnomics
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
DBnomics
mdbnomics
Commits
14c9e07f
Commit
14c9e07f
authored
5 years ago
by
Dóra Kocsis
Browse files
Options
Downloads
Patches
Plain Diff
extend pipeline to Octave and MATLAB 2009b
parent
2841e9df
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#3447
failed
5 years ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+15
-1
15 additions, 1 deletion
.gitlab-ci.yml
Makefile
+6
-2
6 additions, 2 deletions
Makefile
with
21 additions
and
3 deletions
.gitlab-ci.yml
+
15
−
1
View file @
14c9e07f
...
...
@@ -8,4 +8,18 @@ before_script:
test_matlab
:
stage
:
test
script
:
-
make check-matlab
\ No newline at end of file
-
make check-matlab
test_old_matlab
:
stage
:
test
variables
:
MATLAB
:
/usr/local/MATLAB/R2009b/bin/matlab
script
:
-
make check-matlab
test_octave
:
stage
:
test
variables
:
OPENBLAS_NUM_THREADS
:
1
script
:
-
make check-octave
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Makefile
+
6
−
2
View file @
14c9e07f
OCTAVE
?=
octave-cli
MATLAB
?=
$(
shell which matlab
)
all
:
check-matlab
all
:
check-octave
check-matlab
m-unit-tests/src/mtest.m
:
git clone https://git.dynare.org/Dynare/m-unit-tests
check-octave
:
m-unit-tests/src/mtest.m
@
cd
tests
;
\
$(
OCTAVE
)
--no-init-file
--silent
--no-history
--eval
"addpath([pwd() '/../m-unit-tests/src']); runalltests"
&&
[
!
-f
./failed
]
&&
[
-f
./pass
]
check-matlab
:
m-unit-tests/src/mtest.m
@$(
MATLAB
)
-nosplash
-nodisplay
-r
"addpath([pwd '/m-unit-tests/src']); cd tests; runalltests; quit"
&&
[
!
-f
./tests/failed
]
&&
[
-f
./tests/pass
]
check-clean
:
rm
-f
tests/
*
_test_
*
.m tests/
*
.csv tests/
*
.xls tests/
*
.xlsx tests/
*
.mat tests/failed tests/datafile_for_test
rm
-f
git.info git.last-commit-hash tests/pass tests/failed tests/
*
.spc
rm
-rf
m-unit-tests
rm
-rf
m-unit-tests
\ No newline at end of file
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