-
Notifications
You must be signed in to change notification settings - Fork 52
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
bc78fe7
commit a9b307e
Showing
1 changed file
with
14 additions
and
19 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 |
---|---|---|
|
@@ -17,6 +17,19 @@ jobs: | |
- name: Checkout code | ||
uses: actions/checkout@v1 | ||
|
||
- name: Set up Python 3.x | ||
uses: actions/setup-python@v1 # Use pip to install latest CMake, & FORD/Jin2For, etc. | ||
with: | ||
python-version: 3.x | ||
|
||
- name: Install other tools | ||
if: contains( matrix.os, 'ubuntu') | ||
run: | | ||
sudo apt-get install graphviz | ||
sudo -H pip install numpy | ||
sudo -H pip install ford && ford --version | ||
sudo -H pip install matplotlib | ||
- name: Install GFortran Linux | ||
if: contains( matrix.os, 'ubuntu') | ||
run: | | ||
|
@@ -35,29 +48,11 @@ jobs: | |
- name: Run test | ||
run: ./bin/test | ||
|
||
Deploy-Docs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v1 | ||
|
||
- name: Set up Python 3.x | ||
uses: actions/setup-python@v1 # Use pip to install latest CMake, & FORD/Jin2For, etc. | ||
with: | ||
python-version: 3.x | ||
|
||
- name: Install other tools | ||
if: contains( matrix.os, 'ubuntu') | ||
run: | | ||
sudo apt-get install graphviz | ||
sudo -H pip install numpy | ||
sudo -H pip install ford && ford --version | ||
sudo -H pip install matplotlib | ||
- name: Build documentation | ||
run: ford ./pyplot-fortran.md | ||
|
||
- name: Deploy Documentation | ||
if: github.ref == 'refs/heads/master' | ||
uses: JamesIves/[email protected] | ||
with: | ||
branch: gh-pages # The branch the action should deploy to. | ||
|