Skip to content

Commit

Permalink
Try reverting back to Mac x86_64
Browse files Browse the repository at this point in the history
  • Loading branch information
jobovy committed Apr 24, 2024
1 parent 0a53082 commit 7fce186
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,15 +192,15 @@ jobs:
REQUIRES_ASTROQUERY: true
REQUIRES_NUMBA: false
REQUIRES_JAX: false
- os: macos-latest
- os: macos-12
python-version: "3.12"
TEST_FILES: tests/test_orbit.py -k test_energy_jacobi_conservation
REQUIRES_PYNBODY: true
REQUIRES_ASTROPY: true
REQUIRES_ASTROQUERY: true
REQUIRES_NUMBA: false
REQUIRES_JAX: false
- os: macos-latest
- os: macos-12
python-version: "3.12"
TEST_FILES: tests/test_orbit.py tests/test_orbits.py -k 'not test_energy_jacobi_conservation'
REQUIRES_PYNBODY: true
Expand All @@ -227,7 +227,7 @@ jobs:
run: |
sudo apt-get install libgsl-dev
- name: Install the GSL
if: matrix.os == 'macos-latest'
if: matrix.os == 'macos-12'
run: |
brew install gsl
echo "CFLAGS=-I$(brew --prefix)/include" >> $GITHUB_ENV
Expand Down Expand Up @@ -281,12 +281,9 @@ jobs:
python setup.py build_ext --no-openmp --coverage --single_ext --inplace
python setup.py develop --single_ext
- name: Install package
if: matrix.os == 'macos-latest'
if: matrix.os == 'macos-12'
run: |
python -m pip install -v .
env:
_PYTHON_HOST_PLATFORM : "macosx-11.0-arm64"
ARCHFLAGS : "-arch arm64"
- name: Special config
env:
TEST_FILES: ${{ matrix.TEST_FILES }}
Expand Down

0 comments on commit 7fce186

Please sign in to comment.