-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #461 from e0404/rc/v2.10.1
1st Patch Release for Blaise - v2.10.1
- Loading branch information
Showing
183 changed files
with
2,407 additions
and
1,481 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
### Bug description | ||
Describe the new feature you want to contribute and reference respective issues if this specific enhancement was asked for. | ||
|
||
### Approach | ||
Describe how you implemented the feature: | ||
- How does my feature change matRad code? | ||
- Are there any new parameters associated with the feature that need to be documented? (maybe think about providing defaults in MatRad_Config) | ||
- Are there external dependencies (toolboxes, mex files, etc.)? | ||
|
||
### Open Questions and/or Concerns | ||
Use a github checklists to adress any concerns like. e.g. | ||
- [ ] I wasn't sure about this or that variable and if I did the correct thing with it | ||
- [ ] I am not sure if this is compatible with the latest Matlab version | ||
- [ ] etc. | ||
This self-defined checklist then has to be checked before merge by reviewers and yourself. | ||
|
||
### References | ||
Any helpful external information (e.g. links to stackoverflow question, blogposts, external software websites, etc.) |
17 changes: 17 additions & 0 deletions
17
.github/PULL_REQUEST_TEMPLATE/release_checklist_pull_request.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
### Release Version | ||
Version of new Release and Type (new major release, minor release, patch release) | ||
|
||
### Release Checklist | ||
|
||
- [ ] Version number changed in matRad_getVersion | ||
- [ ] Adapted Changelog.txt | ||
- [ ] All required mex files compiled | ||
- [ ] Third Party libraries / scripts up to date | ||
- [ ] Standalone(s) generated and tested | ||
- [ ] Wiki adapted | ||
- [ ] Optional changes to README.md | ||
- [ ] Check license information | ||
|
||
### References | ||
Any references regarding new functionality etc. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,65 +1,102 @@ | ||
language: cpp | ||
group: travis_latest | ||
|
||
matrix: | ||
jobs: | ||
include: | ||
# works on Precise and Trusty | ||
- os: linux | ||
- name: "Ubuntu Octave" | ||
os: linux | ||
language: cpp | ||
dist: focal # 20.04 -> Octave 5.2 | ||
services: | ||
- xvfb | ||
addons: | ||
apt: | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
update: true | ||
packages: | ||
- g++-7 | ||
env: | ||
- MATRIX_EVAL="CC=gcc-7 && CXX=g++-7" | ||
- os: osx | ||
- os: windows | ||
- gdb | ||
- gfortran | ||
- fonts-freefont-otf | ||
- gnuplot-x11 | ||
- libgdcm-dev | ||
- octave | ||
- liboctave-dev | ||
- name: "Ubuntu Matlab" | ||
os: linux | ||
language: matlab | ||
dist: focal | ||
- name: "OSX Octave" | ||
os: osx | ||
language: cpp | ||
addons: | ||
homebrew: | ||
update: true | ||
packages: | ||
- llvm | ||
- libomp | ||
- gdcm | ||
- octave | ||
cache: | ||
directories: | ||
- $HOME/Library/Caches/Homebrew | ||
- name: "Windows Octave" | ||
os: windows | ||
language: cpp | ||
cache: | ||
directories: | ||
- $HOME/AppData/Local/Temp/chocolatey | ||
- /C/ProgramData/chocolatey/ | ||
allow_failures: | ||
- os: windows | ||
- os: osx | ||
|
||
before_install: | ||
# Linux setup | ||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then echo "Testing matRad on linux..." ; fi | ||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then eval "${MATRIX_EVAL}" ; fi | ||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo chmod +x before_install_linux.sh ; fi | ||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo ./before_install_linux.sh; fi | ||
- if [[ "$TRAVIS_JOB_NAME" == "Ubuntu Octave" ]]; then echo "Testing matRad on linux with Octave..." ; fi | ||
- if [[ "$TRAVIS_JOB_NAME" == "Ubuntu Octave" ]]; then sudo chmod +x .travis/before_install_linux.sh ; fi | ||
- if [[ "$TRAVIS_JOB_NAME" == "Ubuntu Octave" ]]; then sudo .travis/before_install_linux.sh; fi | ||
|
||
# Linux Matlab Setup | ||
- if [[ "$TRAVIS_JOB_NAME" == "Ubuntu Matlab" ]]; then echo "Testing matRad on linux with Matlab..." ; fi | ||
- if [[ "$TRAVIS_JOB_NAME" == "Ubuntu Matlab" ]]; then sudo chmod +x .travis/runtests.sh ; fi | ||
- if [[ "$TRAVIS_JOB_NAME" == "Ubuntu Matlab" ]]; then sudo chmod +x MCsquare/bin/MCsquare_linux ; fi | ||
|
||
# OSX setup | ||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then echo "Testing matRad on Mac OSX..." ; fi | ||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install octave > /dev/null ; fi | ||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install llvm > /dev/null ; fi | ||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install libomp > /dev/null ; fi | ||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sudo chmod +x before_install_osx.sh ; fi | ||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sudo ./before_install_osx.sh; fi | ||
- if [[ "$TRAVIS_JOB_NAME" == "OSX Octave" ]]; then echo "Testing matRad on Mac OSX..." ; fi | ||
- if [[ "$TRAVIS_JOB_NAME" == "OSX Octave" ]]; then sudo chmod +x .travis/before_install_osx.sh ; fi | ||
- if [[ "$TRAVIS_JOB_NAME" == "OSX Octave" ]]; then sudo .travis/before_install_osx.sh; fi | ||
|
||
# Windows Setup | ||
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then echo "Testing matRad on Windows..." ; fi | ||
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then choco install octave.portable ; fi | ||
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then choco install cmake --installargs 'ADD_CMAKE_TO_PATH=System' ; fi | ||
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then bash ./before_install_win_gitbash.sh ; fi | ||
- if [[ "$TRAVIS_JOB_NAME" == "Windows Octave" ]]; then echo "Testing matRad on Windows..." ; fi | ||
- if [[ "$TRAVIS_JOB_NAME" == "Windows Octave" ]]; then choco install octave.portable ; fi | ||
- if [[ "$TRAVIS_JOB_NAME" == "Windows Octave" ]]; then bash .travis/before_install_win_gitbash.sh ; fi | ||
|
||
|
||
before_script: | ||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ulimit -c unlimited -S ; fi | ||
- if [[ "$TRAVIS_JOB_NAME" == "Ubuntu Octave" ]]; then ulimit -c unlimited -S ; fi | ||
|
||
|
||
after_failure: | ||
## Linux stack trace | ||
# find core file | ||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then COREFILE=$(find . -maxdepth 1 -name "core*" | head -n 1) ; fi | ||
- if [[ "$TRAVIS_JOB_NAME" == "Ubuntu Octave" ]]; then COREFILE=$(find . -maxdepth 1 -name "core*" | head -n 1) ; fi | ||
# print stack trace | ||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then gdb -c "$COREFILE" -ex "thread apply all bt" -ex "set pagination 0" -batch /usr/bin/octave-cli ; fi | ||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then tail runtests.log ; fi | ||
- if [[ "$TRAVIS_JOB_NAME" == "Ubuntu Octave" ]]; then gdb -c "$COREFILE" -ex "thread apply all bt" -ex "set pagination 0" -batch /usr/bin/octave-cli ; fi | ||
- if [[ "$TRAVIS_JOB_NAME" == "Ubuntu Octave" ]]; then tail runtests.log ; fi | ||
|
||
script: | ||
# Linux script | ||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then travis_wait 45 ./runtests.sh octave-cli ; fi | ||
# Linux Octave script | ||
- if [[ "$TRAVIS_JOB_NAME" == "Ubuntu Octave" ]]; then travis_wait 45 .travis/runtests.sh octave-cli ; fi | ||
# Linux Matlab script | ||
- if [[ "$TRAVIS_JOB_NAME" == "Ubuntu Matlab" ]]; then travis_wait 45 .travis/runtests.sh matlab; fi | ||
# OSX script | ||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then travis_wait 45 ./runtests.sh octave-cli ; fi | ||
- if [[ "$TRAVIS_JOB_NAME" == "OSX Octave" ]]; then travis_wait 45 .travis/runtests.sh octave-cli ; fi | ||
# Windows script | ||
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then travis_wait 45 ./runtests.sh octave-cli ; fi | ||
- if [[ "$TRAVIS_JOB_NAME" == "Windows Octave" ]]; then travis_wait 45 "cmd.exe //C RefreshEnv.cmd & .travis/runtests.sh octave-cli" ; fi | ||
|
||
before_cache: | ||
- if [[ "$TRAVIS_JOB_NAME" == "OSX Octave" ]]; then brew cleanup; fi | ||
|
||
notifications: | ||
slack: e0404:u5tBXbO6D1mEwzJuFZV0MmqJ | ||
slack: | ||
if: repo = e0404/matRad | ||
rooms: | ||
- e0404:u5tBXbO6D1mEwzJuFZV0MmqJ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/usr/bin/env bash | ||
|
||
sudo chmod +x .travis/runtests.sh | ||
sudo chmod +x MCsquare/bin/MCsquare_linux | ||
|
||
mv optimization/optimizer/ipopt.m optimization/optimizer/ipopt.m.bak | ||
|
||
octave --no-gui --eval "pkg install -forge dicom" | ||
octave --no-gui --eval "pkg install -forge nan" |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/usr/bin/env bash | ||
|
||
sudo chmod +x .travis/runtests.sh | ||
sudo chmod +x MCsquare/bin/MCsquare_mac | ||
|
||
mv optimization/optimizer/ipopt.m optimization/optimizer/ipopt.m.bak | ||
|
||
octave --no-gui --eval "pkg install -forge dicom" | ||
octave --no-gui --eval "pkg install -forge nan" |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/usr/bin/env bash | ||
|
||
sudo chmod +x .travis/runtests.sh | ||
#sudo chmod +x MCsquare/MCsquare_windows.exe | ||
|
||
#mv optimization/optimizer/ipopt.m optimization/optimizer/ipopt.m.bak | ||
|
||
#octave --no-gui --eval "pkg install -forge dicom" | ||
#octave --no-gui --eval "pkg install -forge nan" | ||
|
||
cmd.exe //C RefreshEnv.cmd |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.