Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelzw committed Aug 13, 2023
1 parent f4f009e commit 1249cac
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/conda-build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@ jobs:
with:
environment-name: build
create-args: boa
- name: Build conda package
shell: bash -el {0}
- name: Patch osx-arm64 conda-build
if: contains(matrix.CONDA_BUILD_YML, 'osx_arm64')
# Don't test cross-compiled result (there is no emulation) and use the latest MacOS SDK.
run: |
# Don't test cross-compiled result (there is no emulation) and use the latest MacOS SDK.
if grep -q "osx-arm64" ".ci_support/${{ matrix.CONDA_BUILD_YML }}.yaml"; then
CONDA_BUILD_ARGS="--no-test"
export CONDA_BUILD_SYSROOT=$(xcrun --sdk macosx --show-sdk-path)
cat <<EOF >> .ci_support/${CONDA_BUILD_YML}.yaml
CONDA_BUILD_ARGS="--no-test"
export CONDA_BUILD_SYSROOT=$(xcrun --sdk macosx --show-sdk-path)
cat <<EOF >> .ci_support/${CONDA_BUILD_YML}.yaml
CONDA_BUILD_SYSROOT:
- "${CONDA_BUILD_SYSROOT}"
- "${CONDA_BUILD_SYSROOT}"
EOF
fi
conda-mambabuild -m ".ci_support/${{ matrix.CONDA_BUILD_YML }}.yaml" conda.recipe
- name: Build conda package
shell: bash -el {0}
run: conda-mambabuild -m ".ci_support/${{ matrix.CONDA_BUILD_YML }}.yaml" conda.recipe

0 comments on commit 1249cac

Please sign in to comment.