Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deploy-docs.yml) - use linuxbrew to install ford 7 #99

Merged
merged 5 commits into from
Nov 26, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,23 @@ jobs:

env:
FC: gfortran
GCC_V: 13

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Install Dependencies Ubuntu
run: |
sudo apt-get update
sudo apt install -y gfortran-${GCC_V} python3-dev python3 build-essential graphviz
sudo pip install ford markdown==3.3.4
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
PATH=/home/linuxbrew/.linuxbrew/bin/:"$PATH"
brew install ford gcc
- name: Build Developer Documenation
run: |
PATH=/home/linuxbrew/.linuxbrew/bin/:"$PATH"
PATH=`brew --prefix ford`/bin:"$PATH"
echo $PATH
ford --version
ford ford.md > ford_output.txt
# Turn warnings into errors
cat ford_output.txt; if grep -q -i Warning ford_output.txt; then exit 1; fi
ford ford.md
cp ./README.md ./doc/html
- name: Upload Documentation
uses: actions/upload-artifact@v2
Expand Down
Loading