File tree Expand file tree Collapse file tree 1 file changed +55
-0
lines changed
Expand file tree Collapse file tree 1 file changed +55
-0
lines changed Original file line number Diff line number Diff line change @@ -444,3 +444,58 @@ jobs:
444444 cd integration_tests
445445 ./run_tests.py -b c_sym cpython_sym llvm_sym
446446 ./run_tests.py -b c_sym cpython_sym llvm_sym -f
447+
448+ python_3_11 :
449+ name : Run Integration tests with Python 3.11
450+ runs-on : ubuntu-latest
451+ steps :
452+ - uses : actions/checkout@v3
453+ with :
454+ fetch-depth : 0
455+
456+ - uses : mamba-org/setup-micromamba@v1
457+ with :
458+ environment-name : lp
459+ condarc : |
460+ channels:
461+ - conda-forge
462+ create-args : >-
463+ llvmdev=11.1.0
464+ bison=3.4
465+ re2c
466+ zlib
467+ cmake
468+ make
469+ python=3.11.4
470+ numpy
471+
472+ - uses : hendrikmuhs/ccache-action@main
473+ with :
474+ key : ${{ github.job }}-${{ matrix.os }}
475+
476+ - name : Show Python version
477+ shell : bash -e -l {0}
478+ run : python --version
479+
480+ - name : Build
481+ shell : bash -e -l {0}
482+ run : |
483+ ./build0.sh
484+ cmake . -G"Unix Makefiles" \
485+ -DCMAKE_BUILD_TYPE=Debug \
486+ -DWITH_LLVM=yes \
487+ -DLPYTHON_BUILD_ALL=yes \
488+ -DWITH_STACKTRACE=no \
489+ -DWITH_RUNTIME_STACKTRACE=no \
490+ -DCMAKE_PREFIX_PATH="$CONDA_PREFIX" \
491+ -DCMAKE_INSTALL_PREFIX=`pwd`/inst \
492+ -DCMAKE_C_COMPILER_LAUNCHER=ccache \
493+ -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
494+
495+ cmake --build . -j16 --target install
496+
497+ - name : Test
498+ shell : bash -e -l {0}
499+ run : |
500+ cd integration_tests
501+ ./run_tests.py -b cpython
You can’t perform that action at this time.
0 commit comments