Skip to content

Commit

Permalink
Removing MacOS support
Browse files Browse the repository at this point in the history
  • Loading branch information
ifilot committed May 14, 2024
1 parent 03e2343 commit 0f3d5a2
Showing 1 changed file with 0 additions and 58 deletions.
58 changes: 0 additions & 58 deletions .github/workflows/build_conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,61 +150,3 @@ jobs:
run: |
export ANACONDA_API_TOKEN=$INPUT_ANACONDATOKEN
anaconda upload packages/*.tar.bz2
#-------------------------------------------------------------------------------
# Anaconda / MacOSx
#-------------------------------------------------------------------------------
build-anaconda-macos:
needs: check-version-strings
runs-on: macos-latest

steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Set-up miniconda
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: test
environment-file: environment.yml
python-version: 3.8
auto-activate-base: false
- name: Build
run: |
conda install conda-build
conda build . --no-include-recipe
- name: Archive packages
uses: actions/upload-artifact@v3
with:
name: anaconda-macos-packages
path: /usr/local/miniconda/conda-bld/osx-64/pyqint-*.tar.bz2

publish-anaconda-macos:
name: Publish Anaconda / MacOS
if: startsWith(github.ref, 'refs/tags/v')
needs: build-anaconda-macos
runs-on: ubuntu-latest
environment:
name: anaconda
url: https://anaconda.org/ifilot/pyqint
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Set-up miniconda
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: test
environment-file: environment.yml
python-version: 3.8
auto-activate-base: false
- name: Retrieve packages
uses: actions/download-artifact@v3
with:
name: anaconda-macos-packages
path: packages
- name: publish-to-conda
shell: bash -l {0}
env:
INPUT_ANACONDATOKEN: ${{ secrets.ANACONDA_TOKEN }}
run: |
export ANACONDA_API_TOKEN=$INPUT_ANACONDATOKEN
anaconda upload packages/*.tar.bz2

0 comments on commit 0f3d5a2

Please sign in to comment.