Skip to content

Commit

Permalink
fine tune last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
rkaminsk committed Jun 20, 2024
1 parent 4dd0429 commit 2d30e26
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/conda/conda_build_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ python:

# from https://github.com/phracker/MacOSX-SDKs
CONDA_BUILD_SYSROOT:
- /opt/MacOSX11.3.sdk # [osx and arm64]
- /opt/MacOSX10.9.sdk # [osx and not arm64]
- /opt/MacOSX11.3.sdk # [osx and arm64]
8 changes: 5 additions & 3 deletions .github/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ conda:
os:
- 'ubuntu-latest'
- 'macos-latest'
- 'windows-latest'
- 'windows-2019'
macosx-sdk:
'MacOSX10.9.sdk.tar.xz'
- 'MacOSX10.9.sdk.tar.xz'
- 'MacOSX11.3.sdk.tar.xz'
channels_release:
- 'potassco'
channels_dev:
Expand Down Expand Up @@ -121,7 +122,8 @@ conda:
# from https://github.com/phracker/MacOSX-SDKs
CONDA_BUILD_SYSROOT:
- /opt/MacOSX10.9.sdk # [osx]
- /opt/MacOSX10.9.sdk # [osx and not arm64]
- /opt/MacOSX11.3.sdk # [osx and arm64]
ppa:
package_name:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/conda-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ jobs:
shell: pwsh
run: |
Invoke-WebRequest -Uri 'https://github.com/phracker/MacOSX-SDKs/releases/download/11.3/MacOSX10.9.sdk.tar.xz' -OutFile 'MacOSX10.9.sdk.tar.xz'
Invoke-WebRequest -Uri 'https://github.com/phracker/MacOSX-SDKs/releases/download/11.3/MacOSX11.3.sdk.tar.xz' -OutFile 'MacOSX11.3.sdk.tar.xz'
sudo tar xf MacOSX10.9.sdk.tar.xz -C /opt
Invoke-WebRequest -Uri 'https://github.com/phracker/MacOSX-SDKs/releases/download/11.3/MacOSX11.3.sdk.tar.xz' -OutFile 'MacOSX11.3.sdk.tar.xz'
sudo tar xf MacOSX11.3.sdk.tar.xz -C /opt
- name: print info
Expand All @@ -71,7 +71,7 @@ jobs:
env:
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }}

- name: publish conda package (wip)
- name: publish conda package (wip; arm64)
if: ${{ github.event.inputs.wip == 'true' && matrix.os == 'macos-latest' }}
shell: pwsh
run: |
Expand All @@ -80,7 +80,7 @@ jobs:
CONDA_SUBDIR: osx-64
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }}

- name: publish conda package (release)
- name: publish conda package (release; arm64)
if: ${{ github.event.inputs.wip == 'false' && matrix.os == 'macos-latest' }}
shell: pwsh
run: |
Expand Down

0 comments on commit 2d30e26

Please sign in to comment.