Skip to content

Commit

Permalink
Update for 1.23
Browse files Browse the repository at this point in the history
  • Loading branch information
jschueller committed Jun 5, 2024
1 parent 66c7f17 commit c37f7b4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
version: ['1.21rc1']
pyver: ['3.8', '3.9', '3.10', '3.11']
version: ['1.23']
pyver: ['3.8', '3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v3
- name: Build
Expand All @@ -18,10 +18,9 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
otagrum-0.8-py${{ matrix.pyver }}-x86_64.exe
otfftw-0.13-py${{ matrix.pyver }}-x86_64.exe
otmixmod-0.14-py${{ matrix.pyver }}-x86_64.exe
otmorris-0.14-py${{ matrix.pyver }}-x86_64.exe
otrobopt-0.12-py${{ matrix.pyver }}-x86_64.exe
otsubsetinverse-1.10-py${{ matrix.pyver }}-x86_64.exe
otsvm-0.12-py${{ matrix.pyver }}-x86_64.exe
otagrum-0.10-py${{ matrix.pyver }}-x86_64.exe
otfftw-0.15-py${{ matrix.pyver }}-x86_64.exe
otmixmod-0.17-py${{ matrix.pyver }}-x86_64.exe
otmorris-0.16-py${{ matrix.pyver }}-x86_64.exe
otrobopt-0.14-py${{ matrix.pyver }}-x86_64.exe
otsvm-0.14-py${{ matrix.pyver }}-x86_64.exe
5 changes: 3 additions & 2 deletions run_docker_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ usage()

test $# -ge 2 || usage

sudo pacman -Sy --noconfirm mingw-w64-fftw mingw-w64-agrum # for otfftw, otagrum
aurman -Syu --noconfirm mingw-w64-fftw mingw-w64-agrum mingw-w64-libmixmod # for otfftw, otagrum, otmixmod

OTVERSION=$1
PYBASEVER=$2
Expand All @@ -26,7 +26,7 @@ curl -L https://github.com/openturns/build/releases/download/v${OTVERSION}/opent
sudo cp -r install/* ${MINGW_PREFIX}

# for each module
for pkgnamever in otagrum-0.8 otfftw-0.13 otmixmod-0.14 otmorris-0.14 otrobopt-0.12 otsubsetinverse-1.10 otsvm-0.12
for pkgnamever in otagrum-0.10 otfftw-0.15 otmixmod-0.17 otmorris-0.16 otrobopt-0.14 otsvm-0.14
do
pkgname=`echo ${pkgnamever}|cut -d "-" -f1`
pkgver=`echo ${pkgnamever}|cut -d "-" -f2`
Expand All @@ -45,6 +45,7 @@ do
${ARCH}-w64-mingw32-strip --strip-unneeded ${PREFIX}/bin/*.dll ${PREFIX}/Lib/site-packages/${pkgname}/*.pyd
if test "${pkgname}" = "otfftw"; then cp -v ${MINGW_PREFIX}/bin/libfftw*.dll ${PREFIX}/Lib/site-packages/${pkgname}; fi
if test "${pkgname}" = "otagrum"; then cp -v ${MINGW_PREFIX}/bin/libagrum.dll ${PREFIX}/Lib/site-packages/${pkgname}; fi
if test "${pkgname}" = "otmixmod"; then cp -v ${MINGW_PREFIX}/bin/libmixmod.dll ${PREFIX}/Lib/site-packages/${pkgname}; fi
if test "${pkgname}" != "otagrum"; then cp ${PREFIX}/bin/lib${pkgname}.dll ${PREFIX}/Lib/site-packages/${pkgname} && OPENTURNS_NUM_THREADS=2 ctest -R pyinstall --output-on-failure --timeout 200 ${MAKEFLAGS}; fi

cd distro/windows
Expand Down

0 comments on commit c37f7b4

Please sign in to comment.