Skip to content

Commit 7222a63

Browse files
committed
Add tests for windows
1 parent 82ce07a commit 7222a63

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

recipe/meta.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,16 @@ outputs:
6666
- test -f "${PREFIX}/lib/pkgconfig/libarchive.pc" # [unix]
6767

6868
# Verify headers are in place.
69-
- test -f "${PREFIX}/include/archive.h" # [unix]
70-
- test -f "${PREFIX}/include/archive_entry.h" # [unix]
69+
- test -f "${PREFIX}/include/archive.h" # [unix]
70+
- if not exist %LIBRARY_INC%\archive.h (exit 1) # [win]
71+
- test -f "${PREFIX}/include/archive_entry.h" # [unix]
72+
- if not exist %LIBRARY_INC%\archive_entry.h (exit 1) # [win]
7173

7274
# Verify libraries are in place.
73-
- test -f "${PREFIX}/lib/libarchive.a" # [unix]
74-
- test -f "${PREFIX}/lib/libarchive${SHLIB_EXT}" # [unix]
75+
- test -f "${PREFIX}/lib/libarchive.a" # [unix]
76+
- test -f "${PREFIX}/lib/libarchive${SHLIB_EXT}" # [unix]
77+
- if not exist %LIBRARY_LIB%\archive.lib (exit 1) # [win]
78+
- if not exist %LIBRARY_BIN%\archive.dll (exit 1) # [win]
7579

7680
# Check for commands
7781
- bsdcat --version

0 commit comments

Comments
 (0)