Skip to content

Commit

Permalink
Use boa in CI. (#673)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtilly committed Aug 7, 2023
1 parent cdf3cdf commit 17f1f69
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/conda-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ export CONDA_BUILD_YML=$1
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
source ${SCRIPT_DIR}/base.sh $*
conda activate base
mamba install -y conda-build
conda build -m .ci_support/${CONDA_BUILD_YML}.yaml conda.recipe
mamba install -y boa conda-build
conda mambabuild -m .ci_support/${CONDA_BUILD_YML}.yaml conda.recipe
4 changes: 2 additions & 2 deletions .github/workflows/macos-conda-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
source ${SCRIPT_DIR}/base.sh $*
conda activate base

mamba install -y conda-build -c conda-forge
mamba install -y conda-build boa -c conda-forge
# Don't test cross-compiled result (there is no emulation) and use the latest MacOS SDK.
if grep -q "osx-arm64" .ci_support/${CONDA_BUILD_YML}.yaml; then
CONDA_BUILD_ARGS="--no-test"
Expand All @@ -16,4 +16,4 @@ CONDA_BUILD_SYSROOT:
- "${CONDA_BUILD_SYSROOT}"
EOF
fi
conda build -m .ci_support/${CONDA_BUILD_YML}.yaml conda.recipe ${CONDA_BUILD_ARGS:-}
conda mambabuild -m .ci_support/${CONDA_BUILD_YML}.yaml conda.recipe ${CONDA_BUILD_ARGS:-}

0 comments on commit 17f1f69

Please sign in to comment.