Skip to content

Commit

Permalink
Merge pull request #8 from TimothyCera-NOAA/find_library
Browse files Browse the repository at this point in the history
FEAT: Have 'find_library' search through LD_LIBRARY_PATH, if set.
  • Loading branch information
EricEngle-NOAA authored Jul 31, 2024
2 parents f56cd7f + 72d52e4 commit aec77b0
Show file tree
Hide file tree
Showing 2 changed files with 80 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/build_macosx.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Build and Test on macos

on: [push, pull_request]

jobs:
build-macos:

name: Python (${{ matrix.python-version }})
runs-on: macos-latest

defaults:
run:
shell: bash -el {0}

strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
channels: conda-forge
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
conda install c-compiler gfortran nceplibs-ip ninja numpy pip setuptools
- name: Install with pip
run: |
pip install .
- name: Test with pytest
run: |
conda install pytest
#pytest
40 changes: 40 additions & 0 deletions .github/workflows/build_windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Build and Test on Windows

on: [push, pull_request]

jobs:
build-windows:

name: Python (${{ matrix.python-version }})
runs-on: windows-latest

defaults:
run:
shell: bash -el {0}

strategy:
matrix:
python-version: ["3.8","3.9","3.10","3.11"]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
channels: conda-forge
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
conda install c-compiler m2w64-gcc-fortran m2w64-gcc-libs nceplibs-ip ninja numpy pip setuptools
- name: Install with pip
run: |
pip install .
- name: Test with pytest
run: |
conda install pytest
#pytest

0 comments on commit aec77b0

Please sign in to comment.