Skip to content

Commit 6e8c7f1

Browse files
authored
Merge pull request #162 from lcpp-org/workflow-fortran-test
Add tests of fortran functions to workflow
2 parents a82abaf + 3351bf7 commit 6e8c7f1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/rustbca_compile_check.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ jobs:
4545
python3 setup.py install --root .
4646
cp -r usr/local/lib/python3.8/dist-packages/libRustBCA .
4747
python3 -c "from libRustBCA.pybca import *;"
48+
- name: Test Fortran bindings
49+
run : |
50+
gfortran -c rustbca.f90 target/release/liblibRustBCA.so
4851
- name: Test RustBCA
4952
run: |
5053
sudo cargo test --features cpr_rootfinder_netlib,hdf5_input,distributions,parry3d

0 commit comments

Comments
 (0)