Skip to content

Commit

Permalink
actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholaswogan committed Dec 20, 2024
1 parent 6a29ff0 commit f1d6b16
Showing 1 changed file with 23 additions and 5 deletions.
28 changes: 23 additions & 5 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,18 @@ jobs:
with:
submodules: 'true'

# - name: Setup Fortran
# uses: awvwgk/setup-fortran@main
# id: setup-fortran
# with:
# compiler: gcc
# version: 11

# - name: Setup Python
# uses: actions/setup-python@v2
# with:
# python-version: 3.9

- uses: mamba-org/setup-micromamba@v2
with:
environment-name: test-env
Expand All @@ -30,6 +42,16 @@ jobs:
pip
clang
gfortran
valgrind
# - name: Install dependencies
# run: |
# python -m pip install --upgrade pip
# python -m pip install h5py fypp
# sudo apt update
# sudo apt install libblas-dev liblapack-dev
# sudo apt install valgrind
# sudo apt install libhdf5-dev

- name: configure cmake
shell: bash -el {0}
Expand All @@ -46,12 +68,8 @@ jobs:
shell: bash -el {0}
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}

- name: Install valgrind
run: |
sudo apt update
sudo apt install valgrind
- name: test
shell: bash -el {0}
working-directory: ${{github.workspace}}/build
run: |
./tests/test_radtran
Expand Down

0 comments on commit f1d6b16

Please sign in to comment.