This repository has been archived by the owner on Mar 31, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(#21) Добавление вычисления сглаженной периодограммы:
* Описана процедура сглаживания коррелограммы; * Описана процедура вычисления сглаженной периодограммы; * Добавлена визуализация сглаженной периодограммы; * Добавлен новый Workflow для проверки флага отладки; * Добавлено описание и новые бейджи.
- Loading branch information
Pavel Sobolev
authored
Mar 22, 2020
1 parent
b727e11
commit 384d15a
Showing
54 changed files
with
696 additions
and
409 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
20 changes: 20 additions & 0 deletions
20
.github/scripts/Build&Clean (Linux, установка зависимостей).sh
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,20 @@ | ||
#!/bin/bash | ||
|
||
# Вывод названия скрипта | ||
printf "\nЗапущен скрипт для установки зависимостей.\n\n" | ||
|
||
# Установка модуля matplotlib | ||
printf "Выполняется установка модуля matplotlib.\n\n" | ||
pip3 install matplotlib | ||
|
||
# Установка дополнительных шрифтов из пакета texlive | ||
printf "\nВыполняется установка дополнительных шрифтов из пакета texlive.\n\n" | ||
sudo apt-get install texlive-fonts-extra | ||
|
||
# Установка кириллических шрифтов из пакета texlive | ||
printf "\nВыполняется установка кириллических шрифтов из пакета texlive.\n\n" | ||
sudo apt-get install texlive-lang-cyrillic | ||
|
||
# Установка пакета cm-super | ||
printf "\nВыполняется установка пакета cm-super.\n\n" | ||
sudo apt-get install cm-super |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
#!/bin/bash | ||
|
||
# Вывод названия скрипта | ||
printf "\nЗапущен скрипт, проверяющий, активен ли флаг отладки\n\n" | ||
|
||
# Определение начального числа ошибок | ||
ERROR_COUNT=0 | ||
|
||
# Описание функции для проверки make-файлов | ||
function check_debugging { | ||
|
||
printf "Проверяется make-файл $1 ...\n\n" | ||
|
||
if grep "debugging := " "$1" | grep -q "true"; then | ||
|
||
printf "[!] Флаг отладки активирован в этом make-файле.\n\n" | ||
ERROR_COUNT=$((ERROR_COUNT+1)) | ||
|
||
else | ||
|
||
printf "Флаг отладки НЕ активирован в этом make-файле.\n\n" | ||
|
||
fi | ||
|
||
} | ||
|
||
# Проверка make-файлов | ||
check_debugging "Программа/Makefile" | ||
check_debugging "Make-файлы/gfortran-9" | ||
check_debugging "Make-файлы/gmake" | ||
|
||
# Проверка числа ошибок | ||
if [ "$ERROR_COUNT" -gt 0 ]; then | ||
|
||
printf "Число ошибок: $ERROR_COUNT\n\n" | ||
exit 1 | ||
|
||
else | ||
|
||
printf "\nВсё в порядке.\n" | ||
|
||
fi |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: NoDebugging (feature) | ||
|
||
on: | ||
push: | ||
tags: | ||
- v[0-9]+.[0-9]+.[0-9]+_feature_* | ||
|
||
jobs: | ||
NoDebugging_feature: | ||
|
||
name: NoDebugging Job (feature) | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Запуск скрипта для проверки флага отладки | ||
run: bash .github/scripts/NoDebugging.sh |
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 @@ | ||
name: NoDebugging (feature) | ||
|
||
on: | ||
push: | ||
tags: | ||
- v[0-9]+.[0-9]+.[0-9]+ | ||
|
||
jobs: | ||
NoDebugging_feature: | ||
|
||
name: NoDebugging Job (feature) | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Запуск скрипта для проверки флага отладки | ||
run: bash .github/scripts/NoDebugging.sh |
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.