Skip to content

Commit

Permalink
change matrix and use macos-13 for Intel hardware (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyburnett authored Apr 29, 2024
1 parent 4faf0cf commit 339fee7
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 26 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ jobs:
strategy:
fail-fast: false
matrix:
runs-on: [ ubuntu-latest, macos-latest, macos-14 ]
# the macOS 13 runner is on Intel hardware
runs-on: [ ubuntu-latest, macos-13, macos-latest ]
python-version: [ '3.10', '3.11', '3.12' ]
runs-on: ${{ matrix.runs-on }}
name: build (Python ${{ matrix.python-version }}, ${{ matrix.runs-on }})
Expand Down
55 changes: 30 additions & 25 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ jobs:
strategy:
matrix:
package: [ acstools, asdf, calcos, ccdproc, costools, synphot, jwst ]
runs-on: [ ubuntu-latest, macos-latest, macos-14 ]
# the macOS 13 runner is on Intel hardware
runs-on: [ ubuntu-latest, macos-13, macos-latest ]
python-version: [ '3.10', '3.11', '3.12' ]
include:
- package: acstools
Expand Down Expand Up @@ -57,13 +58,13 @@ jobs:
env:
CRDS_SERVER_URL: https://jwst-crds.stsci.edu
exclude:
- runs-on: macos-latest
- runs-on: macos-13
python-version: '3.10'
- runs-on: macos-latest
- runs-on: macos-13
python-version: '3.11'
- runs-on: macos-14
- runs-on: macos-latest
python-version: '3.10'
- runs-on: macos-14
- runs-on: macos-latest
python-version: '3.11'
fail-fast: false
runs-on: ${{ matrix.runs-on }}
Expand Down Expand Up @@ -122,7 +123,8 @@ jobs:
fail-fast: false
matrix:
package: [ reftools, wfpc2tools ]
runs-on: [ ubuntu-latest, macos-latest, macos-14 ]
# the macOS 13 runner is on Intel hardware
runs-on: [ ubuntu-latest, macos-13, macos-latest ]
python-version: [ '3.10', '3.11', '3.12' ]
include:
#- package: pysynphot
Expand All @@ -131,13 +133,13 @@ jobs:
extras: [ test ]
- package: wfpc2tools
exclude:
- runs-on: macos-latest
- runs-on: macos-13
python-version: '3.10'
- runs-on: macos-latest
- runs-on: macos-13
python-version: '3.11'
- runs-on: macos-14
- runs-on: macos-latest
python-version: '3.10'
- runs-on: macos-14
- runs-on: macos-latest
python-version: '3.11'
runs-on: ${{ matrix.runs-on }}
name: ${{ matrix.package }} (Python ${{ matrix.python-version }}, ${{ matrix.runs-on }})
Expand Down Expand Up @@ -177,7 +179,8 @@ jobs:
strategy:
matrix:
package: [ hstcal ]
runs-on: [ ubuntu-latest, macos-latest, macos-14 ]
# the macOS 13 runner is on Intel hardware
runs-on: [ ubuntu-latest, macos-13, macos-latest ]
python-version: [ '3.10', '3.11', '3.12' ]
include:
#- package: drizzlepac
Expand All @@ -195,13 +198,13 @@ jobs:
# repository: spacetelescope/stsynphot_refactor
# extras: [ test ]
exclude:
- runs-on: macos-latest
- runs-on: macos-13
python-version: '3.10'
- runs-on: macos-latest
- runs-on: macos-13
python-version: '3.11'
- runs-on: macos-14
- runs-on: macos-latest
python-version: '3.10'
- runs-on: macos-14
- runs-on: macos-latest
python-version: '3.11'
fail-fast: false
runs-on: ${{ matrix.runs-on }}
Expand Down Expand Up @@ -265,19 +268,20 @@ jobs:
fail-fast: false
matrix:
package: [ crds ]
runs-on: [ ubuntu-latest, macos-latest, macos-14 ]
# the macOS 13 runner is on Intel hardware
runs-on: [ ubuntu-latest, macos-13, macos-latest ]
python-version: [ '3.10', '3.11', '3.12' ]
include:
- package: crds
repository: spacetelescope/crds
exclude:
- runs-on: macos-latest
- runs-on: macos-13
python-version: '3.10'
- runs-on: macos-latest
- runs-on: macos-13
python-version: '3.11'
- runs-on: macos-14
- runs-on: macos-latest
python-version: '3.10'
- runs-on: macos-14
- runs-on: macos-latest
python-version: '3.11'
runs-on: ${{ matrix.runs-on }}
name: ${{ matrix.package }} (Python ${{ matrix.python-version }}, ${{ matrix.runs-on }})
Expand Down Expand Up @@ -327,7 +331,8 @@ jobs:
strategy:
matrix:
package: [ calcos, drizzlepac ]
runs-on: [ ubuntu-latest, macos-latest, macos-14 ]
# the macOS 13 runner is on Intel hardware
runs-on: [ ubuntu-latest, macos-13, macos-latest ]
python-version: [ '3.10', '3.11', '3.12' ]
include:
- package: calcos
Expand All @@ -341,13 +346,13 @@ jobs:
CRDS_SERVER_URL: https://hst-crds.stsci.edu
jref: hst/references/hst/
exclude:
- runs-on: macos-latest
- runs-on: macos-13
python-version: '3.10'
- runs-on: macos-latest
- runs-on: macos-13
python-version: '3.11'
- runs-on: macos-14
- runs-on: macos-latest
python-version: '3.10'
- runs-on: macos-14
- runs-on: macos-latest
python-version: '3.11'
fail-fast: false
runs-on: ${{ matrix.runs-on }}
Expand Down

0 comments on commit 339fee7

Please sign in to comment.