Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
rkaminsk committed Sep 13, 2024
1 parent 56addd3 commit 8355044
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 41 deletions.
5 changes: 1 addition & 4 deletions .github/conda/conda_build_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ clingo:
pin_run_as_build:
clingo: x.x

c_stdlib: # [osx]
- macosx_deployment_target # [osx]
c_stdlib_version: # [osx]
- 11.3 # [osx]
MACOSX_DEPLOYMENT_TARGET: 11.3 # [osx]
CONDA_BUILD_SYSROOT: # [osx]
- /opt/MacOSX11.3.sdk # [osx]
13 changes: 4 additions & 9 deletions .github/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ conda:
- 'macos-latest'
- 'windows-2019'
macosx-sdk:
- 'MacOSX10.13.sdk.tar.xz'
- 'MacOSX11.3.sdk.tar.xz'
channels_release:
- 'potassco'
Expand Down Expand Up @@ -112,14 +111,10 @@ conda:
pin_run_as_build:
clingo: x.x
c_stdlib_version: # [osx]
- 10.13 # [osx and not arm64]
- 11.3.sdk # [osx and arm64]
# from https://github.com/phracker/MacOSX-SDKs
CONDA_BUILD_SYSROOT:
- /opt/MacOSX10.13.sdk # [osx and not arm64]
- /opt/MacOSX11.3.sdk # [osx and arm64]
c_stdlib_version: # [osx]
- 11.3 # [osx]
CONDA_BUILD_SYSROOT: # [osx]
- /opt/MacOSX11.3.sdk # [osx]
ppa:
package_name:
Expand Down
29 changes: 1 addition & 28 deletions .github/workflows/conda-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,13 @@ jobs:
- name: Install prerequisites
shell: pwsh
run: |
conda config --set anaconda_upload yes
conda config --set anaconda_upload no
conda install conda-build anaconda-client
- name: Install macos SDK
if: ${{ matrix.os == 'macos-latest' }}
shell: pwsh
run: |
Invoke-WebRequest -Uri 'https://github.com/phracker/MacOSX-SDKs/releases/download/11.3/MacOSX10.13.sdk.tar.xz' -OutFile 'MacOSX10.13.sdk.tar.xz'
sudo tar xf MacOSX10.13.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
Expand All @@ -55,22 +53,6 @@ jobs:
conda info
conda list
- name: publish conda package (wip)
if: ${{ github.event.inputs.wip == 'true' }}
shell: pwsh
run: |
python .github/conda.py
env:
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }}

- name: publish conda package (release)
if: ${{ github.event.inputs.wip == 'false' }}
shell: pwsh
run: |
python .github/conda.py --release
env:
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }}

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

- name: publish conda package (release; osx-64)
if: ${{ github.event.inputs.wip == 'false' && matrix.os == 'macos-latest' }}
shell: pwsh
run: |
python .github/conda.py --release
env:
CONDA_SUBDIR: osx-64
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }}

0 comments on commit 8355044

Please sign in to comment.