File tree Expand file tree Collapse file tree 3 files changed +33
-34
lines changed Expand file tree Collapse file tree 3 files changed +33
-34
lines changed Original file line number Diff line number Diff line change @@ -10,23 +10,27 @@ jobs:
1010 runs-on : ubuntu-latest
1111 steps :
1212 - uses : actions/checkout@v4
13- - name : Install Fortran, Lapack and FFTW
14- run :
15- sudo apt-get install gfortran libblas-dev liblapack-dev libfftw3-dev
16- shell : bash
1713 - uses : actions/setup-python@v5
1814 with :
19- python-version : ' 3.8'
20- - uses : julia-actions/setup-julia@v2
15+ python-version : 3.9
2116
22- - name : Install python dependencies
23- run : python -m pip install -r requirements.txt
17+ - name : Setup Miniconda
18+ uses :
conda-incubator/[email protected] 19+ with :
20+ environment-file : environment.yml
21+ activate-environment : python-fortran
22+ python-version : 3.9
23+ auto-activate-base : false
2424
25- - name : Install Julia packages
26- run : julia -e ' using Pkg; Pkg.add(["REPL", "PyCall"]); Pkg.build("PyCall")'
25+ - name : Install PyCall
26+ shell : bash -l {0}
27+ run : |
28+ julia -e ' using Pkg; Pkg.add(["REPL", "PyCall"]); Pkg.build("PyCall")'
2729
2830 - name : Build the book
29- run : jupyter-book build notebooks
31+ shell : bash -l {0}
32+ run : |
33+ jupyter-book build notebooks
3034
3135 - name : GitHub Pages action
3236 uses : peaceiris/actions-gh-pages@v4
Original file line number Diff line number Diff line change @@ -2,8 +2,22 @@ name: python-fortran
22channels :
33 - conda-forge
44dependencies :
5- - python=3.8
6- - pip
7- - pip :
8- - -r requirements.txt
95 - jupytext
6+ - cython
7+ - fortran-magic
8+ - gast
9+ - imageio
10+ - ipykernel
11+ - ipywidgets
12+ - pyjulia
13+ - matplotlib
14+ - meson
15+ - numba
16+ - numpy
17+ - pillow
18+ - pythran
19+ - seaborn
20+ - tqdm
21+ - fftw
22+ - scipy
23+ - jupyter-book
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments