Skip to content

Commit

Permalink
ci: add 3.11 and 3.12, install deps for 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
amaanq committed Nov 12, 2023
1 parent f25604a commit 9d19117
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
build_asan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
- name: Build Python+ASAN
Expand All @@ -32,6 +32,10 @@ jobs:
fail-fast: false
matrix:
include:
- { os: ubuntu-latest, python: "3.12.0", install_libcxx: false }
- { os: ubuntu-latest, python: "3.12.0", install_libcxx: true }
- { os: ubuntu-latest, python: "3.11.6", install_libcxx: false }
- { os: ubuntu-latest, python: "3.11.6", install_libcxx: true }
- { os: ubuntu-latest, python: "3.10.11", install_libcxx: false }
- { os: ubuntu-latest, python: "3.10.11", install_libcxx: true }
- { os: ubuntu-latest, python: "3.8.17", install_libcxx: false }
Expand All @@ -40,18 +44,22 @@ jobs:
- { os: ubuntu-20.04, python: "3.6.8", install_libcxx: true }
- { os: ubuntu-latest, python: pypy-3.7, install_libcxx: false }
- { os: ubuntu-latest, python: pypy-3.7, install_libcxx: true }
- { os: macos-latest, python: "3.12.0", install_libcxx: false }
- { os: macos-latest, python: "3.11.6", install_libcxx: false }
- { os: macos-latest, python: "3.10.11", install_libcxx: false }
- { os: macos-latest, python: "3.8.17", install_libcxx: false }
- { os: macos-latest, python: "3.6.8", install_libcxx: false }
- { os: macos-latest, python: pypy-3.7, install_libcxx: false }
- { os: windows-latest, python: "3.12.0", install_libcxx: false }
- { os: windows-latest, python: "3.11.6", install_libcxx: false }
- { os: windows-latest, python: "3.10.11", install_libcxx: false }
- { os: windows-latest, python: "3.8.10", install_libcxx: false }
- { os: windows-latest, python: "3.6.8", install_libcxx: false }
- { os: windows-latest, python: pypy-3.7, install_libcxx: false }

runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-python@v4
Expand All @@ -65,6 +73,10 @@ jobs:
if: ${{ matrix.install_libcxx }}
run: |
DEBIAN_FRONTEND=noninteractive sudo apt-get install -y libc++-dev libc++abi-dev
- name: Install dependencies if Python version is 3.12.0+
if: ${{ matrix.python == '3.12.0' }}
run: |
python -m pip install .
- name: Install flake8
run: python -m pip install flake8
- name: Fetch fixtures
Expand Down

0 comments on commit 9d19117

Please sign in to comment.