-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9074e47
commit 650ad1e
Showing
733 changed files
with
213,486 additions
and
178,255 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 |
---|---|---|
@@ -1,66 +1,66 @@ | ||
# This workflow performs automated tests on the official code branch. | ||
# Test 1: compiling the source code and building the executable | ||
# Test 2: performing the regression tests. | ||
|
||
name: Python application test | ||
|
||
on: | ||
push: | ||
branches: [ "development/digitalTwin" ] | ||
pull_request: | ||
branches: [ "development/digitalTwin" ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Build | ||
run: | | ||
# source venv/bin/activate | ||
echo "Compiling SCIANTIX" | ||
make | ||
ls | ||
cd bin | ||
echo "in bin" | ||
- name: Archive production artifacts | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: compiled-bin | ||
path: ./bin | ||
|
||
test: | ||
needs: build | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Download build artifacts | ||
uses: actions/download-artifact@v2 | ||
with: | ||
name: compiled-bin | ||
path: ./bin | ||
|
||
- name: Set up Python 3.8 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.8 | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install virtualenv | ||
virtualenv venv | ||
source venv/bin/activate | ||
pip install numpy matplotlib scipy scikit-learn | ||
- name: Run tests | ||
run: | | ||
source venv/bin/activate | ||
echo "In Regression" | ||
cd regression | ||
chmod +x ./../bin/sciantix.x # add the execute permission | ||
python3 ./regression.py | ||
# This workflow performs automated tests on the official code branch. | ||
# Test 1: compiling the source code and building the executable | ||
# Test 2: performing the regression tests. | ||
|
||
name: Python application test | ||
|
||
on: | ||
push: | ||
branches: [ "development/digitalTwin" ] | ||
pull_request: | ||
branches: [ "development/digitalTwin" ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Build | ||
run: | | ||
# source venv/bin/activate | ||
echo "Compiling SCIANTIX" | ||
make | ||
ls | ||
cd bin | ||
echo "in bin" | ||
- name: Archive production artifacts | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: compiled-bin | ||
path: ./bin | ||
|
||
test: | ||
needs: build | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Download build artifacts | ||
uses: actions/download-artifact@v2 | ||
with: | ||
name: compiled-bin | ||
path: ./bin | ||
|
||
- name: Set up Python 3.8 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.8 | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install virtualenv | ||
virtualenv venv | ||
source venv/bin/activate | ||
pip install numpy matplotlib scipy scikit-learn | ||
- name: Run tests | ||
run: | | ||
source venv/bin/activate | ||
echo "In Regression" | ||
cd regression | ||
chmod +x ./../bin/sciantix.x # add the execute permission | ||
python3 ./regression.py |
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,50 +1,50 @@ | ||
# Prerequisites | ||
*.d | ||
|
||
# Compiled Object files | ||
*.slo | ||
*.lo | ||
*.o | ||
*.obj | ||
|
||
# Precompiled Headers | ||
*.gch | ||
*.pch | ||
|
||
# Compiled Dynamic libraries | ||
*.so | ||
*.dylib | ||
*.dll | ||
|
||
# Fortran module files | ||
*.mod | ||
*.smod | ||
|
||
# Compiled Static libraries | ||
*.lai | ||
*.la | ||
*.a | ||
*.lib | ||
|
||
# Executables | ||
*.exe | ||
*.out | ||
*.app | ||
*.x | ||
|
||
# Backup files | ||
*.bak | ||
|
||
# Mac OS files | ||
*.DS_Store | ||
|
||
# Folders | ||
bin/ | ||
obj/ | ||
build/ | ||
out/ | ||
documentation/ | ||
.vscode/ | ||
.vs/ | ||
old_files/ | ||
# Prerequisites | ||
*.d | ||
|
||
# Compiled Object files | ||
*.slo | ||
*.lo | ||
*.o | ||
*.obj | ||
|
||
# Precompiled Headers | ||
*.gch | ||
*.pch | ||
|
||
# Compiled Dynamic libraries | ||
*.so | ||
*.dylib | ||
*.dll | ||
|
||
# Fortran module files | ||
*.mod | ||
*.smod | ||
|
||
# Compiled Static libraries | ||
*.lai | ||
*.la | ||
*.a | ||
*.lib | ||
|
||
# Executables | ||
*.exe | ||
*.out | ||
*.app | ||
*.x | ||
|
||
# Backup files | ||
*.bak | ||
|
||
# Mac OS files | ||
*.DS_Store | ||
|
||
# Folders | ||
bin/ | ||
obj/ | ||
build/ | ||
out/ | ||
documentation/ | ||
.vscode/ | ||
.vs/ | ||
old_files/ | ||
__pycache__/ |
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,51 +1,51 @@ | ||
#////////////////////////////////////////////////////////////////////////////////////// | ||
#// _______. ______ __ ___ .__ __. .___________. __ ___ ___ // | ||
#// / | / || | / \ | \ | | | || | \ \ / / // | ||
#// | (----`| ,----'| | / ^ \ | \| | `---| |----`| | \ V / // | ||
#// \ \ | | | | / /_\ \ | . ` | | | | | > < // | ||
#// .----) | | `----.| | / _____ \ | |\ | | | | | / . \ // | ||
#// |_______/ \______||__| /__/ \__\ |__| \__| |__| |__| /__/ \__\ // | ||
#// // | ||
#// Originally developed by D. Pizzocri & T. Barani // | ||
#// // | ||
#// Version: 2.0 // | ||
#// Year: 2022 // | ||
#// Authors: G. Zullo ([email protected]) // | ||
#// // | ||
#////////////////////////////////////////////////////////////////////////////////////// | ||
|
||
# This CMakeLists.txt file is useful when compiling SCIANTIX with the cmake tool | ||
# | ||
# output: | ||
# > build directory with executable in build/Debug/sciantix.exe | ||
# | ||
# When using IDE, a CMakeSettings.json could be automatically produced to compile sciantix in a locall out/build/ folder | ||
# by setting this file as startup element. | ||
# More information here: (https://learn.microsoft.com/it-it/cpp/build/configure-cmake-debugging-sessions?view=msvc-170) | ||
|
||
cmake_minimum_required(VERSION 3.0.0) | ||
|
||
# Name of the project created / existent in visual studio | ||
project(sciantix) | ||
|
||
# Enable C++ compiler | ||
enable_language (CXX) | ||
|
||
# Specify SCIANTIX directories | ||
set(include "include/*.h") | ||
set(src "src/*.C") | ||
|
||
include(CTest) | ||
enable_testing() | ||
|
||
include_directories( | ||
${CMAKE_SOURCE_DIR}/include/ | ||
) | ||
|
||
file(GLOB SOURCES ${include} ${src}) | ||
add_executable(sciantix ${SOURCES}) | ||
|
||
set(CPACK_PROJECT_NAME ${PROJECT_NAME}) | ||
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION}) | ||
|
||
include(CPack) | ||
#////////////////////////////////////////////////////////////////////////////////////// | ||
#// _______. ______ __ ___ .__ __. .___________. __ ___ ___ // | ||
#// / | / || | / \ | \ | | | || | \ \ / / // | ||
#// | (----`| ,----'| | / ^ \ | \| | `---| |----`| | \ V / // | ||
#// \ \ | | | | / /_\ \ | . ` | | | | | > < // | ||
#// .----) | | `----.| | / _____ \ | |\ | | | | | / . \ // | ||
#// |_______/ \______||__| /__/ \__\ |__| \__| |__| |__| /__/ \__\ // | ||
#// // | ||
#// Originally developed by D. Pizzocri & T. Barani // | ||
#// // | ||
#// Version: 2.0 // | ||
#// Year: 2022 // | ||
#// Authors: G. Zullo ([email protected]) // | ||
#// // | ||
#////////////////////////////////////////////////////////////////////////////////////// | ||
|
||
# This CMakeLists.txt file is useful when compiling SCIANTIX with the cmake tool | ||
# | ||
# output: | ||
# > build directory with executable in build/Debug/sciantix.exe | ||
# | ||
# When using IDE, a CMakeSettings.json could be automatically produced to compile sciantix in a locall out/build/ folder | ||
# by setting this file as startup element. | ||
# More information here: (https://learn.microsoft.com/it-it/cpp/build/configure-cmake-debugging-sessions?view=msvc-170) | ||
|
||
cmake_minimum_required(VERSION 3.0.0) | ||
|
||
# Name of the project created / existent in visual studio | ||
project(sciantix) | ||
|
||
# Enable C++ compiler | ||
enable_language (CXX) | ||
|
||
# Specify SCIANTIX directories | ||
set(include "include/*.h") | ||
set(src "src/*.C") | ||
|
||
include(CTest) | ||
enable_testing() | ||
|
||
include_directories( | ||
${CMAKE_SOURCE_DIR}/include/ | ||
) | ||
|
||
file(GLOB SOURCES ${include} ${src}) | ||
add_executable(sciantix ${SOURCES}) | ||
|
||
set(CPACK_PROJECT_NAME ${PROJECT_NAME}) | ||
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION}) | ||
|
||
include(CPack) |
Oops, something went wrong.