Skip to content

Commit

Permalink
fix(netcdf).test
Browse files Browse the repository at this point in the history
  • Loading branch information
jhheider authored Feb 8, 2025
1 parent 6eb3f87 commit 270826f
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions projects/unidata.ucar.edu/netcdf/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,16 @@ provides:

test:
dependencies:
gnu.org/gcc: '*'
linux:
gnu.org/gcc: '*'
script:
- gcc test.c -lnetcdf -o test
- $CC test.c -lnetcdf -o test
- ./test | grep {{version}}
- nc-config --version | grep {{version}}
env:
linux:
CC: gcc
LD: ld
darwin:
CC: clang
LD: /usr/bin/ld

0 comments on commit 270826f

Please sign in to comment.