-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from TimothyCera-NOAA/find_library
FEAT: Have 'find_library' search through LD_LIBRARY_PATH, if set.
- Loading branch information
Showing
2 changed files
with
80 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |