Skip to content

Commit

Permalink
Changes for CI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimmetz committed Oct 6, 2023
1 parent 5c915ed commit 19b0cd5
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 4 deletions.
12 changes: 8 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,29 +84,33 @@ environment:
APPVEYOR_BUILD_WORKER_IMAGE: macos-monterey
HOMEBREW_NO_INSTALL_CLEANUP: 1
CC: clang
CFLAGS: "-I/usr/local/include -I/usr/local/opt/openssl/include"
LDFLAGS: "-L/usr/local/lib -L/usr/local/opt/openssl/lib"
CONFIGURE_OPTIONS: ""
- TARGET: macos-x64-gcc
BUILD_ENVIRONMENT: xcode
APPVEYOR_BUILD_WORKER_IMAGE: macos-monterey
HOMEBREW_NO_INSTALL_CLEANUP: 1
CFLAGS: "-I/usr/local/include -I/usr/local/opt/openssl/include"
LDFLAGS: "-L/usr/local/lib -L/usr/local/opt/openssl/lib"
CONFIGURE_OPTIONS: ""
- TARGET: macos-x64-gcc-python
BUILD_ENVIRONMENT: xcode
APPVEYOR_BUILD_WORKER_IMAGE: macos-monterey
PYTHON: "/usr/local/opt/[email protected]/bin/python3"
PYTHON_CONFIG: "/usr/local/opt/[email protected]/bin/python3-config"
HOMEBREW_NO_INSTALL_CLEANUP: 1
CFLAGS: "-I/usr/local/include"
LDFLAGS: "-L/usr/local/lib"
CFLAGS: "-I/usr/local/include -I/usr/local/opt/openssl/include"
LDFLAGS: "-L/usr/local/lib -L/usr/local/opt/openssl/lib"
CONFIGURE_OPTIONS: "--enable-python"
- TARGET: macos-pkgbuild
BUILD_ENVIRONMENT: xcode
APPVEYOR_BUILD_WORKER_IMAGE: macos-monterey
PYTHON: "/usr/local/opt/[email protected]/bin/python3"
PYTHON_CONFIG: "/usr/local/opt/[email protected]/bin/python3-config"
HOMEBREW_NO_INSTALL_CLEANUP: 1
CFLAGS: "-I/usr/local/include"
LDFLAGS: "-L/usr/local/lib"
CFLAGS: "-I/usr/local/include -I/usr/local/opt/openssl/include"
LDFLAGS: "-L/usr/local/lib -L/usr/local/opt/openssl/lib"
CONFIGURE_OPTIONS: "--disable-dependency-tracking --prefix=/usr/local --enable-python --with-pyprefix"
- TARGET: python311
BUILD_ENVIRONMENT: python
Expand Down
5 changes: 5 additions & 0 deletions tests/test_md5sum.sh
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,11 @@ do
fi
for INPUT_FILE in "${INPUT_FILES[@]}";
do
if test "${OSTYPE}" = "msys";
then
# A test executable built with MinGW expects a Windows path.
INPUT_FILE=`echo ${INPUT_FILE} | sed 's?/?\\\\?g'`;
fi
TESTED_WITH_OPTIONS=0;

for OPTION_SET in ${OPTION_SETS[@]};
Expand Down
5 changes: 5 additions & 0 deletions tests/test_sha1sum.sh
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,11 @@ do
fi
for INPUT_FILE in "${INPUT_FILES[@]}";
do
if test "${OSTYPE}" = "msys";
then
# A test executable built with MinGW expects a Windows path.
INPUT_FILE=`echo ${INPUT_FILE} | sed 's?/?\\\\?g'`;
fi
TESTED_WITH_OPTIONS=0;

for OPTION_SET in ${OPTION_SETS[@]};
Expand Down
5 changes: 5 additions & 0 deletions tests/test_sha2sum.sh
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,11 @@ do
fi
for INPUT_FILE in "${INPUT_FILES[@]}";
do
if test "${OSTYPE}" = "msys";
then
# A test executable built with MinGW expects a Windows path.
INPUT_FILE=`echo ${INPUT_FILE} | sed 's?/?\\\\?g'`;
fi
TESTED_WITH_OPTIONS=0;

for OPTION_SET in ${OPTION_SETS[@]};
Expand Down

0 comments on commit 19b0cd5

Please sign in to comment.