Skip to content

Download old SDK for osx #9

Download old SDK for osx

Download old SDK for osx #9

# This workflow builds and publishes the conda package to the Numerics88 channel
# using the openalea/action-build-publish-anaconda action.
name: Conda Build And Publish
on:
push:
branches:
- kean/rebuild-1.0
workflow_dispatch:
jobs:
build-and-publish:
name: Conda deployment
runs-on: ${{ matrix.os }}
strategy:
matrix:
# OS types: Windows x64, macOS 13 (last intel based runner), macOS latest (Apple silicon), and Ubuntu x64
# ------------------------------------------------------
os: ["ubuntu-latest", "macos-13", "windows-latest"]
python-minor-version: [6, 7]
exclude:
- os: ubuntu-latest
python-minor-version: 6
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
ref: kean/rebuild-1.0
fetch-depth: 0
- name: Download OSX SDK
if: matrix.os == 'macos-13'
run: |
sudo mkdir -p /opt/
sudo chown -R $USER /opt/
curl -L https://github.com/phracker/MacOSX-SDKs/releases/download/10.13/MacOSX10.9.sdk.tar.xz -o MacOSX10.9.sdk.tar.xz
tar -xJf MacOSX10.9.sdk.tar.xz -C /opt/
- name: Build and publish
uses: openalea/[email protected]
with:
conda: conda-recipe/vtkbone
mamba: false
python: ${{ matrix.python-minor-version }}
numpy: '22'
channels: Numerics88, conda-forge, defaults
token: ${{ secrets.KEAN_CONDA_TOKEN }}
publish: true
label: main