-
Notifications
You must be signed in to change notification settings - Fork 23
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
Showing
8 changed files
with
117 additions
and
98 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,74 @@ | ||
name: CI | ||
|
||
on: push | ||
|
||
jobs: | ||
test-deploy: | ||
|
||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
|
||
steps: | ||
- name: PREPARE SYSTEM | ||
run: | | ||
python --version | ||
gfortran --version | ||
gcov --version | ||
sudo apt install graphviz | ||
pip install --upgrade markdown | ||
pip install --upgrade markdown-include | ||
pip install --upgrade python-markdown-math | ||
pip install --upgrade toposort | ||
pip install --upgrade jinja2 | ||
pip install --upgrade pygments | ||
pip install --upgrade beautifulsoup4 | ||
pip install --upgrade graphviz | ||
pip install --upgrade tqdm | ||
pip install --upgrade importlib-metadata | ||
pip install --upgrade ford && ford --version | ||
pip install --upgrade FoBiS.py && FoBiS.py --version | ||
- name: CHECKOUT | ||
id: checkout | ||
run: | | ||
git clone --recursive https://github.com/$GITHUB_REPOSITORY ./ | ||
git log -n 1 | ||
tag=`git tag | tail -n 1` | ||
echo "RELEASE=$tag" >> $GITHUB_ENV | ||
- name: MAKE TAR | ||
run: | | ||
echo "release version:" ${{ env.RELEASE }} | ||
FoBiS.py rule -ex maketar | ||
ls *.tar.gz | ||
- name: DEPLOY ASSET | ||
if: ${{ !env.ACT }} | ||
uses: "marvinpinto/action-automatic-releases@latest" | ||
with: | ||
repo_token: "${{ secrets.GITHUB_TOKEN }}" | ||
automatic_release_tag: ${{ env.RELEASE }} | ||
prerelease: false | ||
title: ${{ env.RELEASE }} | ||
files: | | ||
*.tar.gz | ||
./scripts/install.sh | ||
- name: MAKE COVERAGE | ||
run: | | ||
FoBiS.py rule -ex makecoverage | ||
- name: UPLOAD COVERAGE to CODECOV | ||
if: ${{ !env.ACT }} | ||
uses: codecov/codecov-action@v3 | ||
|
||
- name: MAKE DOC | ||
run: | | ||
FoBiS.py rule -ex makedoc | ||
- name: PUSH DOC to GH Pages | ||
if: ${{ !env.ACT }} | ||
uses: JamesIves/github-pages-deploy-action@v4 | ||
with: | ||
folder: doc/html |
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,33 @@ | ||
name: Test (alternative) Install Methods | ||
|
||
on: push | ||
|
||
jobs: | ||
install: | ||
|
||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
|
||
steps: | ||
- name: INSTALL SCRIPT + make | ||
run: | | ||
wget $(curl -s https://api.github.com/repos/$GITHUB_REPOSITORY/releases/latest | grep 'browser_' | cut -d\" -f4 | grep -i install.sh) | ||
chmod +x install.sh | ||
./install.sh --download wget --build make | ||
rm -rf * | ||
- name: INSTALL SCRIPT + cmake | ||
run: | | ||
wget $(curl -s https://api.github.com/repos/$GITHUB_REPOSITORY/releases/latest | grep 'browser_' | cut -d\" -f4 | grep -i install.sh) | ||
chmod +x install.sh | ||
./install.sh --download wget --build cmake | ||
rm -rf * | ||
- name: FPM | ||
run: | | ||
git clone https://github.com/$GITHUB_REPOSITORY ./ | ||
wget $(curl -s https://api.github.com/repos/fortran-lang/fpm/releases/latest | grep 'browser_' | cut -d\" -f4 | grep -i linux | grep -vi sha256) -O fpm | ||
chmod +x fpm | ||
./fpm build --profile release | ||
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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,32 +1,22 @@ | ||
--- | ||
project: StringiFor | ||
src_dir: ../src/lib | ||
src_dir: ../src/tests | ||
src_dir: ../src/third_party/PENF/src/lib | ||
src_dir: ../src/third_party/BeFoR64/src/lib | ||
|
||
src_dir: ../src | ||
exclude_dir: ../src/third_party | ||
output_dir: html/publish/ | ||
project_github: https://github.com/szaghi/StringiFor | ||
project_download: https://github.com/szaghi/StringiFor/releases/latest | ||
summary: Strings Fortran Manipulator, yet another strings Fortran module | ||
summary: FStrings Fortran Manipulator | ||
author: Stefano Zaghi | ||
github: https://github.com/szaghi | ||
email: stefano.zaghi@gmail.com | ||
md_extensions: markdown.extensions.toc(anchorlink=True) | ||
markdown.extensions.smarty(smart_quotes=False) | ||
md_extensions: markdown.extensions.toc | ||
markdown.extensions.smarty | ||
markdown.extensions.extra | ||
markdown_checklist.extension | ||
docmark: < | ||
display: public | ||
protected | ||
private | ||
source: true | ||
warn: true | ||
graph: true | ||
sort: alpha | ||
print_creation_date: true | ||
creation_date: %Y-%m-%d %H:%M %z | ||
extra_mods: iso_fortran_env:https://gcc.gnu.org/onlinedocs/gfortran/ISO_005fFORTRAN_005fENV.html | ||
|
||
{!../README.md!} | ||
--- | ||
{!README-StringiFor.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
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