Build osx-arm64 installer natively and use macos-13 image for osx-64

This commit is contained in:
Ryan Volz 2024-05-16 11:49:09 -04:00
parent a29df44556
commit f5940bacb6
2 changed files with 4 additions and 3 deletions

View File

@ -38,7 +38,7 @@ jobs:
ARCH: ppc64le
EMU_ARCH: ppc64le
EMU_DISTRO: ubuntu_latest
- os: macos-latest
- os: macos-13
PLATFORM: osx-64
OS_NAME: MacOSX
ARCH: x86_64
@ -92,7 +92,7 @@ jobs:
ls -lhR dist
- name: Test installer (sh native)
if: (contains(matrix.OS_NAME, 'Linux') || contains(matrix.PLATFORM, 'osx-64')) && matrix.EMU_ARCH == null
if: (contains(matrix.OS_NAME, 'Linux') || contains(matrix.OS_NAME, 'MacOSX')) && matrix.EMU_ARCH == null
shell: bash
env:
OS_NAME: ${{ matrix.OS_NAME }}
@ -123,7 +123,7 @@ jobs:
conda list
- name: Test installer (pkg)
if: contains(matrix.PLATFORM, 'osx-64')
if: contains(matrix.OS_NAME, 'MacOSX')
shell: bash
env:
OS_NAME: ${{ matrix.OS_NAME }}

View File

@ -4,6 +4,7 @@ channels:
platforms:
- linux-64
- osx-64
- osx-arm64
- win-64
dependencies:
- anaconda-client