Skip to content
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
15 changes: 3 additions & 12 deletions .github/workflows/build-deploy-book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ jobs:
- os: macos-15
python-version: '3.12'
name: build / ${{ matrix.os }} / python${{ matrix.python-version }}
env:
FC: gfortran-14

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -54,17 +52,10 @@ jobs:
run: |
brew install open-mpi hdf5-mpi libomp

- name: Check gfortran version
- name: Check gfortran version, and location of executable
run: |
if [[ "${{ matrix.os }}" == *"macos"* ]]; then
# pyccel searches for a Fortran compiler exactly named 'gfortran'
# which the macos runner doesn't have. A simple workaround is to
# create a symlink named 'gfortran'.
FC_path=$(which $FC)
FC_dir=$(dirname ${FC_path})
ln -sv ${FC_path} ${FC_dir}/gfortran
fi
gfortran --version
which gfortran

- name: Install Jupyter Book and Psydac
run: |
Expand Down Expand Up @@ -121,7 +112,7 @@ jobs:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
Expand Down