Skip to content

Commit

Permalink
Vars
Browse files Browse the repository at this point in the history
  • Loading branch information
nichollsh committed May 30, 2024
1 parent 84f7605 commit bbff6d2
Showing 1 changed file with 18 additions and 9 deletions.
27 changes: 18 additions & 9 deletions .github/workflows/install_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,13 @@ jobs:
steps:
- uses: actions/checkout@v4

# Setup system
- name: NetCDF
run: |
sudo apt update
sudo apt-get install libnetcdff-dev netcdf-bin gfortran gcc
- name: Setup Julia
uses: julia-actions/setup-julia@v2
with:
version: '1.10'

# Setup SOCRATES
- name: Get SOCRATES
uses: actions/checkout@v4
with:
Expand All @@ -40,14 +37,26 @@ jobs:
./build_code
source set_rad_env
cd ..
# Setup AGNI
- name: Setup Julia
uses: julia-actions/setup-julia@v2
with:
version: '1.10'

- name: Instantiate
run: julia --project -e 'using Pkg; Pkg.instantiate()'
run: |
source socrates/set_rad_env
julia --project -e 'using Pkg; Pkg.instantiate()'
- name: Build
run: julia --project -e 'using Pkg; Pkg.build()'
run: |
source socrates/set_rad_env
julia --project -e 'using Pkg; Pkg.build()'
- name: Test
run: julia --project -e 'using Pkg; Pkg.test()'
run: |
source socrates/set_rad_env
julia --project -e 'using Pkg; Pkg.test()'

0 comments on commit bbff6d2

Please sign in to comment.