-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'refs/remotes/origin/master'
- Loading branch information
Showing
9 changed files
with
103 additions
and
89 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,18 @@ | ||
name: Test (alternative) Install Methods | ||
|
||
on: push | ||
|
||
jobs: | ||
install: | ||
|
||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
|
||
steps: | ||
- 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 * |
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
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
Submodule fortran_tester
updated
4 files
+1 −1 | LICENSE | |
+3 −3 | README.md | |
+18 −0 | fpm.toml | |
+1 −1 | src/tester.f90 |