Skip to content

Commit 4eac573

Browse files
committed
CI: update Slycot build given upstream changes
Reference is .github/workflows/conda-build.yml in the Slycot repository, https://github.com/python-control/Slycot/blob/9613af6364334cc1f42cc7e742383aac2a5ae590/.github/workflows/conda-build.yml
1 parent c1e742a commit 4eac573

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

‎.github/workflows/os-blas-test-matrix.yml‎

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -119,23 +119,21 @@ jobs:
119119
fetch-depth: 0
120120
submodules: 'recursive'
121121
- name: Setup Conda
122-
uses: conda-incubator/setup-miniconda@v3
122+
uses: conda-incubator/setup-miniconda@v4
123123
with:
124-
python-version: ${{ matrix.python }}
124+
auto-update-conda: true
125125
activate-environment: build-env
126-
environment-file: .github/conda-env/build-env.yml
127126
miniforge-version: latest
128-
channels: conda-forge,defaults
127+
conda-build-version: 26.3.0
129128
channel-priority: strict
130-
auto-update-conda: false
131-
auto-activate-base: false
132129
- name: Conda build
133130
shell: bash -el {0}
134131
run: |
135132
set -e
136-
conda mambabuild conda-recipe
133+
conda install conda-index
134+
conda build conda-recipe --python ${{ matrix.python }}
137135
# preserve directory structure for custom conda channel
138-
find "${CONDA_PREFIX}/conda-bld" -maxdepth 2 -name 'slycot*.tar.bz2' | while read -r conda_pkg; do
136+
find "${CONDA_PREFIX}" -maxdepth 2 -name 'slycot*.tar.bz2' | while read -r conda_pkg; do
139137
conda_platform=$(basename $(dirname "${conda_pkg}"))
140138
mkdir -p "slycot-conda-pkgs/${conda_platform}"
141139
cp "${conda_pkg}" "slycot-conda-pkgs/${conda_platform}/"

0 commit comments

Comments
 (0)