summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authormattip <matti.picus@gmail.com>2020-11-09 08:59:49 +0200
committermattip <matti.picus@gmail.com>2020-11-09 11:00:46 +0200
commit9e99158a616ecc6606f398c20e78cdde83ff5047 (patch)
tree83dee6917ad55e9059a5ae29d83f00826e12f313 /.github/workflows
parent8b15e57718042c75af22a25a7d604fa0f938f16e (diff)
downloadnumpy-9e99158a616ecc6606f398c20e78cdde83ff5047.tar.gz
BLD, TST: move linux jobs to github actions
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build_test.yml91
1 files changed, 91 insertions, 0 deletions
diff --git a/.github/workflows/build_test.yml b/.github/workflows/build_test.yml
new file mode 100644
index 000000000..7e1117471
--- /dev/null
+++ b/.github/workflows/build_test.yml
@@ -0,0 +1,91 @@
+name: Build_Test
+
+on: [push, pull_request]
+
+jobs:
+ smoke_test:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Set up Python 3.8
+ uses: actions/setup-python@v2
+ with:
+ python-version: 3.8
+
+ - uses: actions/checkout@v2
+ with:
+ submodules: recursive
+ fetch-depth: 0
+
+ - name: BeforeInstall
+ run: ./tools/travis-before-install.sh
+
+ - name: Test
+ run: ./tools/travis-test.sh
+
+ build_test:
+ needs: smoke_test
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ python-version: [3.7, 3.8, 3.9]
+ exclude:
+ # This ran in the smoke_test
+ - python-version: 3.8
+ include:
+ - env:
+ USE_DEBUG: 1
+ python-version: 3.8
+ - env:
+ NPY_USE_BLAS_ILP64: 1
+ python-version: 3.8
+ - env:
+ USE_WHEEL: 1
+ RUN_FULL_TESTS: 1
+ RUN_COVERAGE: 1
+ INSTALL_PICKLE5: 1
+ python-version: 3.7
+ - env:
+ PYTHONOPTIMIZE: 2
+ BLAS: None
+ LAPACK: None
+ ATLAS: None
+ NPY_BLAS_ORDER: mkl,blis,openblas,atlas,blas
+ NPY_LAPACK_ORDER: MKL,OPENBLAS,ATLAS,LAPACK
+ USE_ASV: 1
+ python-version: 3.7
+ - env:
+ NPY_RELAXED_STRIDES_CHECKING: 0
+ DOWNLOAD_OPENBLAS: 1
+ CHECK_BLAS: 1
+ NPY_USE_BLAS_ILP64: 1
+ python-version: 3.7
+ - env:
+ USE_WHEEL: 1
+ NPY_RELAXED_STRIDES_DEBUG: 1
+ python-version: 3.7
+ - env:
+ NUMPY_EXPERIMENTAL_ARRAY_FUNCTION: 0
+ python-version: 3.7
+ - env:
+ BLAS: None
+ LAPACK: None
+ ATLAS: None
+ python-version: 3.7
+
+ steps:
+ - name: Set up Python ${{ matrix.python-version }}
+ uses: actions/setup-python@v2
+ with:
+ python-version: ${{ matrix.python-version }}
+
+ - uses: actions/checkout@v2
+ with:
+ submodules: recursive
+ fetch-depth: 0
+
+ - name: BeforeInstall
+ run: ./tools/travis-before-install.sh
+
+ - name: Test
+ run: ./tools/travis-test.sh
+