Skip to content

Commit

Permalink
remove macOS support
Browse files Browse the repository at this point in the history
  • Loading branch information
GCS-ZHN committed Feb 1, 2023
1 parent 5a8d48c commit eef0405
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,12 @@ jobs:
retention-days: 1


other-build:
runs-on: ${{ matrix.os }}
win-build:
runs-on: windows-2022
needs: ["source-build"]
strategy:
matrix:
py_version: ['3.7', '3.8', '3.9', '3.10']
os: ['macos-latest', 'windows-latest']

steps:
- uses: actions/checkout@v3
Expand All @@ -101,22 +100,9 @@ jobs:
activate-environment: "diamond4py"

- name: Setup MSBuild.exe
if: startsWith(matrix.os, 'windows')
uses: microsoft/[email protected]

- name: "Build and test for macOS"
if: startsWith(matrix.os, 'macos')
shell: bash -el {0}
run: |
pip install --upgrade pip &&
pip install build &&
conda install -c anaconda zlib &&
python -m build --wheel &&
pip install dist/diamond4py*whl &&
pushd test; python test.py; popd
- name: "Build and test for Windows"
if: startsWith(matrix.os, 'windows')
shell: powershell
run: |
pip install --upgrade pip;
Expand All @@ -141,7 +127,7 @@ jobs:
retention-days: 1

release:
needs: ["manylinux-build", "other-build"]
needs: ["manylinux-build", "win-build"]
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit eef0405

Please sign in to comment.