From 52a6f00fd475d46421064e86ae8aa053bd8fce77 Mon Sep 17 00:00:00 2001 From: Joris Vaillant Date: Tue, 21 May 2024 20:22:12 +0200 Subject: [PATCH] ci: Factorize CI conda environment --- .github/workflows/ci-windows.yml | 8 +------- .github/workflows/conda/conda-env-win.yml | 13 ------------- 2 files changed, 1 insertion(+), 20 deletions(-) delete mode 100644 .github/workflows/conda/conda-env-win.yml diff --git a/.github/workflows/ci-windows.yml b/.github/workflows/ci-windows.yml index 44ebea4..a011dbf 100644 --- a/.github/workflows/ci-windows.yml +++ b/.github/workflows/ci-windows.yml @@ -30,16 +30,10 @@ jobs: with: activate-environment: pycppad auto-update-conda: true - environment-file: .github/workflows/conda/conda-env-win.yml + environment-file: .github/workflows/conda/conda-env.yml python-version: 3.8 auto-activate-base: false - - name: Setup cppad codegen - if: contains(matrix.compiler.cmd, 'clang') - shell: cmd /C CALL {0} - run: | - conda install cppadcodegen - - name: Build PyCppAD shell: cmd /C CALL {0} run: | diff --git a/.github/workflows/conda/conda-env-win.yml b/.github/workflows/conda/conda-env-win.yml deleted file mode 100644 index 12f04d9..0000000 --- a/.github/workflows/conda/conda-env-win.yml +++ /dev/null @@ -1,13 +0,0 @@ -name: pycppad -channels: - - conda-forge -dependencies: - - boost - - eigenpy - - python - - cppad - - ninja - - cmake - - pkg-config - - ninja - - cxx-compiler