|
42 | 42 | CIBW_BEFORE_ALL_MACOS: bin/cibw_before_all_macosx_x86_64.sh |
43 | 43 | CIBW_BEFORE_ALL_WINDOWS: msys2 -c bin/cibw_before_all_windows.sh |
44 | 44 | CIBW_BEFORE_BUILD_WINDOWS: msys2 -c bin/cibw_before_build_windows.sh |
45 | | - CIBW_BEFORE_BUILD: pip install cython delvewheel |
| 45 | + CIBW_BEFORE_BUILD: pip install numpy setuptools cython delvewheel |
46 | 46 | CIBW_ENVIRONMENT: > |
47 | 47 | C_INCLUDE_PATH=$(pwd)/.local/include/ |
48 | 48 | LIBRARY_PATH=$(pwd)/.local/lib/ |
@@ -99,21 +99,17 @@ jobs: |
99 | 99 | test_pip_linux_vcs: |
100 | 100 | name: Install from git checkout on Ubuntu |
101 | 101 | runs-on: ubuntu-22.04 |
| 102 | + strategy: |
| 103 | + fail-fast: false |
| 104 | + matrix: |
| 105 | + python-version: ['3.11', '3.12'] |
| 106 | + # '.' means install from git checkout |
| 107 | + # 'python-flint' means install from PyPI sdist |
| 108 | + target: ['.', 'python-flint'] |
102 | 109 | steps: |
103 | 110 | - uses: actions/checkout@v3 |
104 | 111 | - uses: actions/setup-python@v4 |
105 | 112 | with: |
106 | | - python-version: 3.12 |
107 | | - - run: bin/pip_install_ubuntu.sh . # Install from checkout |
108 | | - - run: python -m flint.test --verbose |
109 | | - |
110 | | - test_pip_linux_pypi: |
111 | | - name: Install from PyPI sdist on Ubuntu |
112 | | - runs-on: ubuntu-22.04 |
113 | | - steps: |
114 | | - - uses: actions/checkout@v3 |
115 | | - - uses: actions/setup-python@v4 |
116 | | - with: |
117 | | - python-version: 3.11 |
118 | | - - run: bin/pip_install_ubuntu.sh python-flint # Install from PyPI sdist |
| 113 | + python-version: ${{ matrix.python-version }} |
| 114 | + - run: bin/pip_install_ubuntu.sh ${{ matrix.target }} |
119 | 115 | - run: python -m flint.test --verbose |
0 commit comments