Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,13 @@ jobs:
os: [ubuntu, macos]
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
exclude:
# Run only the latest 3.x on macOS
# Run only the latest two 3.x versions on macOS
- os: macos
python-version: 3.7
- os: macos
python-version: 3.8
- os: macos
python-version: 3.9
- os: macos
python-version: 3.11

steps:
- name: Checkout pysam
Expand All @@ -32,12 +30,17 @@ jobs:
- name: Install prerequisite Python libraries
run: pip install cython pytest pytest-pep8

- name: Install build prerequisites
- name: Install Linux build prerequisites
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -q --no-install-recommends --no-install-suggests libcurl4-openssl-dev

- name: Update macOS build prerequisites
if: runner.os == 'macOS'
run: |
brew unlink xz || true # Remove brewed liblzma as it is not multiarch

- name: Build (directly from checkout)
run: python setup.py build

Expand Down