Skip to content

Commit

Permalink
trying ip build
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardhartnett committed Mar 27, 2024
1 parent ec4416a commit a82edfa
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions .github/workflows/Linux_options.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
with:
repository: NOAA-EMC/NCEPLIBS-sp
path: sp
ref: develop
ref: v2.3.3

- name: build-sp
run: |
Expand All @@ -70,6 +70,31 @@ jobs:
make -j2
make install
- name: cache-ip
id: cache-ip
uses: actions/cache@v3
with:
path: ~/ip
key: ip-${{ runner.os }}-${{ matrix.ip-version }}

- name: checkout-ip
if: steps.cache-ip.outputs.cache-hit != 'true'
uses: actions/checkout@v3
with:
repository: NOAA-EMC/NCEPLIBS-ip
path: ip
ref: v3.3.3

- name: build-ip
if: steps.cache-ip.outputs.cache-hit != 'true'
run: |
cd ip
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=~/ip -DCMAKE_PREFIX_PATH=~/sp
make -j2
make install
- name: checkout-ip2
uses: actions/checkout@v2
with:
Expand All @@ -96,5 +121,5 @@ jobs:
cd wgrib2
mkdir b
cd b
cmake ${{ matrix.config.options }} ..
cmake ${{ matrix.config.options }} -DCMAKE_PREFIX_PATH="~/sp;~/ip;~/ip2" ..
make VERBOSE=1

0 comments on commit a82edfa

Please sign in to comment.