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 Apr 25, 2024
1 parent 126297f commit b0dc566
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
4 changes: 4 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,10 @@ environment:
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
CONFIGURE_OPTIONS: "--enable-static-executables"

matrix:
allow_failures:
- TARGET: mingw-w64-gcc-python

install:
- cmd: if [%BUILD_ENVIRONMENT%]==[msbuild] (
git clone https://github.com/libyal/vstools.git ..\vstools )
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ AC_PREREQ([2.71])

AC_INIT(
[libevtx],
[20240421],
[20240425],
[[email protected]])

AC_CONFIG_SRCDIR(
Expand Down
9 changes: 5 additions & 4 deletions m4/python.m4
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dnl Functions for Python bindings
dnl
dnl Version: 20240416
dnl Version: 20240418

dnl Function to check if the python binary is available
dnl "python${PYTHON_VERSION} python python# python#.#"
Expand Down Expand Up @@ -78,9 +78,10 @@ AC_DEFUN([AX_PYTHON_CHECK],
dnl For CygWin and MinGW add the -no-undefined linker flag
AS_CASE(
[$host_os],
[cygwin*],[PYTHON_LDFLAGS="${PYTHON_LDFLAGS} -no-undefined"],
[mingw*],[PYTHON_LDFLAGS="${PYTHON_LDFLAGS} -no-undefined"],
[$build],
[*-*-cygwin*],[PYTHON_LDFLAGS="${PYTHON_LDFLAGS} -no-undefined"],
[*-*-mingw*],[PYTHON_LDFLAGS="${PYTHON_LDFLAGS} -no-undefined"],
[*-*-msys*],[PYTHON_LDFLAGS="${PYTHON_LDFLAGS} -no-undefined"],
[*],[])
dnl Check for the existence of Python.h
Expand Down
2 changes: 1 addition & 1 deletion tests/test_python_module.sh
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ PLATFORM=`uname -s | sed 's/-.*$//'`;

if test "${PLATFORM}" = "MINGW64_NT" || test "${PLATFORM}" = "MSYS_NT";
then
cp ../${LIBRARY_NAME}/.libs/${LIBRARY_NAME}-1.dll ../${PYTHON_MODULE}/libs/;
cp ../${LIBRARY_NAME}/.libs/*.dll ../${PYTHON_MODULE}/.libs/;
cp ../${PYTHON_MODULE}/.libs/${PYTHON_MODULE}.dll ../${PYTHON_MODULE}/.libs/${PYTHON_MODULE}.pyd;
fi

Expand Down

0 comments on commit b0dc566

Please sign in to comment.