Skip to content

Commit cd16f57

Browse files
committed
CI: Removed ineffective MAKEFLAGS and test pyccel step. Also only allow the Ubuntu runner to publish to GitHub pages.
1 parent 9aef593 commit cd16f57

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.github/workflows/deploy-book.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ jobs:
2121

2222
env:
2323
FC: gfortran-14
24-
MAKEFLAGS: -j4
2524

2625
name: ${{ matrix.os }} / Python ${{ matrix.python-version }}
2726

@@ -70,13 +69,6 @@ jobs:
7069
fi
7170
gfortran --version
7271
73-
- name: Test pyccel on macOS
74-
if: startsWith(matrix.os, 'macos')
75-
run: |
76-
pip install pyccel
77-
wget https://raw.githubusercontent.com/pyccel/psydac/refs/heads/devel/psydac/core/bsplines_kernels.py
78-
pyccel --verbose bsplines_kernels.py --language fortran --openmp
79-
8072
- name: Install Jupyter Book and Psydac
8173
run: |
8274
pip install --upgrade pip
@@ -86,7 +78,7 @@ jobs:
8678
run: jupyter-book build .
8779

8880
- name: Deploy to GitHub Pages
89-
if: github.ref == 'refs/heads/master'
81+
if: ${{ (github.ref == 'refs/heads/master') && startsWith(matrix.os, 'ubuntu') }}
9082
run: ghp-import -n -p -f _build/html
9183
env:
9284
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)