Skip to content

Commit

Permalink
Expand build matrix to include mac (#490)
Browse files Browse the repository at this point in the history
* Expand build matrix to include mac (#490)

---------

Co-authored-by: Hugo van Kemenade <[email protected]>
Co-authored-by: David Bieber <[email protected]>
  • Loading branch information
3 people authored Sep 22, 2024
1 parent efcf60f commit a0cb1ca
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,23 @@ name: Python Fire

on:
push:
branches:
- master
branches: ["master"]
pull_request:
branches:
- master
branches: ["master"]

defaults:
run:
shell: bash

jobs:
build:
runs-on: ubuntu-20.04
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13.0-rc.2"]
os: ["macos-latest", "ubuntu-latest"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13.0-rc.2"]
include:
- {os: "ubuntu-20.04", python-version: "3.7"}

steps:
# Checkout the repo.
Expand All @@ -28,7 +33,6 @@ jobs:

# Build Python Fire using the build.sh script.
- name: Run build script
shell: bash
run: ./.github/scripts/build.sh
env:
PYTHON_VERSION: ${{ matrix.python-version }}

0 comments on commit a0cb1ca

Please sign in to comment.