From d27e262b43581de58691c7780568f78251e9b364 Mon Sep 17 00:00:00 2001 From: Julien Schueller Date: Tue, 16 May 2023 18:21:22 +0200 Subject: [PATCH] Update to 1.21rc1 --- .github/workflows/build.yml | 4 ++-- run_docker_build.sh | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3ce16ba..e09df7e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,10 +7,10 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - version: ['1.20'] + version: ['1.21rc1'] pyver: ['3.8', '3.9', '3.10', '3.11'] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Build run: docker pull openturns/archlinux-mingw && docker run -e MAKEFLAGS='-j2' -v `pwd`:/io openturns/archlinux-mingw /io/run_docker_build.sh ${{ matrix.version }} ${{ matrix.pyver }} `id -u` `id -g` - name: Release diff --git a/run_docker_build.sh b/run_docker_build.sh index 1b8b558..70f94d5 100755 --- a/run_docker_build.sh +++ b/run_docker_build.sh @@ -24,9 +24,9 @@ curl -L https://github.com/openturns/openturns/archive/v${VERSION}.tar.gz | tar PREFIX=$PWD/install ${ARCH}-w64-mingw32-cmake \ -DCMAKE_INSTALL_PREFIX=${PREFIX} \ - -DPYTHON_INCLUDE_DIR=${MINGW_PREFIX}/include/python${PYMAJMIN} \ - -DPYTHON_LIBRARY=${MINGW_PREFIX}/lib/libpython${PYMAJMIN}.dll.a \ - -DPYTHON_EXECUTABLE=/usr/bin/${ARCH}-w64-mingw32-python${PYMAJMIN}-bin \ + -DPython_INCLUDE_DIR=${MINGW_PREFIX}/include/python${PYMAJMIN} \ + -DPython_LIBRARY=${MINGW_PREFIX}/lib/libpython${PYMAJMIN}.dll.a \ + -DPython_EXECUTABLE=/usr/bin/${ARCH}-w64-mingw32-python${PYMAJMIN}-bin \ -DUSE_SPHINX=OFF \ -DCMAKE_UNITY_BUILD=ON -DCMAKE_UNITY_BUILD_BATCH_SIZE=32 \ -DSWIG_COMPILE_FLAGS="-O1" \