Skip to content

Commit

Permalink
Add required librairies to compile Socrates in the workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
lsoucasse committed Jun 4, 2024
1 parent 108c856 commit f0406bb
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,16 @@ jobs:
repository: 'FormingWorlds/SOCRATES'
path: 'SOCRATES'

- name: Setup system
run: |
sudo apt update
sudo apt-get install libnetcdff-dev netcdf-bin gfortran gcc
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Build SOCRATES
run: |
export LD_LIBRARY_PATH=""
Expand All @@ -32,11 +42,6 @@ jobs:
source set_rad_env
cd ..
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Build JANUS
run: |
pip install -e .
Expand Down

0 comments on commit f0406bb

Please sign in to comment.