|
7 | 7 | branches: [ master ]
|
8 | 8 |
|
9 | 9 | jobs:
|
10 |
| - unix: |
| 10 | + linux: |
11 | 11 | runs-on: ${{ matrix.os }}
|
12 | 12 |
|
13 | 13 | strategy:
|
14 | 14 | matrix:
|
15 |
| - os: [ ubuntu-latest, macos-latest ] |
16 |
| - py: [ "2.7", "3.7", "3.8", "3.9", "3.10", "3.11" ] |
| 15 | + os: [ ubuntu-latest ] |
| 16 | + py: [ "3.7", "3.8", "3.9", "3.10", "3.11", "3.12" ] |
17 | 17 | rust: [ "1.41.1", "stable", "nightly" ]
|
18 | 18 |
|
19 | 19 | steps:
|
@@ -44,13 +44,50 @@ jobs:
|
44 | 44 | run: |
|
45 | 45 | make test extensions
|
46 | 46 |
|
| 47 | + macos: |
| 48 | + runs-on: ${{ matrix.os }} |
| 49 | + |
| 50 | + strategy: |
| 51 | + matrix: |
| 52 | + os: [ macos-latest ] |
| 53 | + py: [ "3.11", "3.12" ] |
| 54 | + rust: [ "1.54.0", "stable", "nightly" ] |
| 55 | + |
| 56 | + steps: |
| 57 | + - name: Checkout code |
| 58 | + uses: actions/checkout@v3 |
| 59 | + - name: Setup Python ${{ matrix.py }} |
| 60 | + uses: actions/setup-python@v4 |
| 61 | + with: |
| 62 | + python-version: ${{ matrix.py }} |
| 63 | + - name: Setup Rust ${{ matrix.rust }} |
| 64 | + uses: dtolnay/rust-toolchain@master |
| 65 | + with: |
| 66 | + toolchain: ${{ matrix.rust }} |
| 67 | + - name: Check versions and paths |
| 68 | + run: | |
| 69 | + python -V ; rustc -V |
| 70 | + echo "PATH=$PATH" |
| 71 | + echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH" |
| 72 | + echo "LIBRARY_PATH=$LIBRARY_PATH" |
| 73 | + PYTHON_LIB=$(python -c "import sysconfig; print(sysconfig.get_config_var('LIBDIR'))") |
| 74 | + echo "PYTHON_LIB=$PYTHON_LIB" |
| 75 | + echo "LIBRARY_PATH=$LIBRARY_PATH:$PYTHON_LIB" >> "$GITHUB_ENV" |
| 76 | + - name: Remove Cargo.lock |
| 77 | + if: ${{ matrix.rust == 'stable' || matrix.rust == 'nightly' }} |
| 78 | + run: | |
| 79 | + rm Cargo.lock |
| 80 | + - name: Build and test |
| 81 | + run: | |
| 82 | + make test extensions |
| 83 | +
|
47 | 84 | windows:
|
48 | 85 | runs-on: ${{ matrix.os }}
|
49 | 86 |
|
50 | 87 | strategy:
|
51 | 88 | matrix:
|
52 | 89 | os: [ windows-latest ]
|
53 |
| - py: [ "2.7", "3.7", "3.8", "3.9", "3.10", "3.11"] |
| 90 | + py: [ "3.7", "3.8", "3.9", "3.10", "3.11", "3.12" ] |
54 | 91 | rust: [ "1.41.1", "stable" ]
|
55 | 92 |
|
56 | 93 | steps:
|
|
0 commit comments