提交 d9d8dba8 authored 作者: Luciano Paz's avatar Luciano Paz 提交者: Ricardo Vieira

Run MacOS tests on version 15

上级 fe5d98c9
......@@ -133,7 +133,7 @@ jobs:
fast-compile: 0
float32: 0
part: "tests/link/pytorch"
- os: macos-latest
- os: macos-15
python-version: "3.12"
fast-compile: 0
float32: 0
......@@ -169,7 +169,7 @@ jobs:
shell: micromamba-shell {0}
run: |
if [[ $OS == "macos-latest" ]]; then
if [[ $OS == "macos-15" ]]; then
micromamba install --yes -q "python~=${PYTHON_VERSION}=*_cpython" numpy scipy pip graphviz cython pytest coverage pytest-cov pytest-benchmark pytest-mock libblas=*=*accelerate;
else
micromamba install --yes -q "python~=${PYTHON_VERSION}=*_cpython" mkl numpy scipy pip mkl-service graphviz cython pytest coverage pytest-cov pytest-benchmark pytest-mock;
......@@ -182,7 +182,7 @@ jobs:
pip install -e ./
micromamba list && pip freeze
python -c 'import pytensor; print(pytensor.config.__str__(print_doc=False))'
if [[ $OS == "macos-latest" ]]; then
if [[ $OS == "macos-15" ]]; then
python -c 'import pytensor; assert pytensor.config.blas__ldflags.startswith("-framework Accelerate"), "Blas flags are not set to MacOS Accelerate"';
else
python -c 'import pytensor; assert pytensor.config.blas__ldflags != "", "Blas flags are empty"';
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论