File tree 3 files changed +33
-34
lines changed
3 files changed +33
-34
lines changed Original file line number Diff line number Diff line change @@ -10,23 +10,27 @@ jobs:
10
10
runs-on : ubuntu-latest
11
11
steps :
12
12
- 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
17
13
- uses : actions/setup-python@v5
18
14
with :
19
- python-version : ' 3.8'
20
- - uses : julia-actions/setup-julia@v2
15
+ python-version : 3.9
21
16
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
24
24
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")'
27
29
28
30
- name : Build the book
29
- run : jupyter-book build notebooks
31
+ shell : bash -l {0}
32
+ run : |
33
+ jupyter-book build notebooks
30
34
31
35
- name : GitHub Pages action
32
36
uses : peaceiris/actions-gh-pages@v4
Original file line number Diff line number Diff line change @@ -2,8 +2,22 @@ name: python-fortran
2
2
channels :
3
3
- conda-forge
4
4
dependencies :
5
- - python=3.8
6
- - pip
7
- - pip :
8
- - -r requirements.txt
9
5
- 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