Skip to content

Commit

Permalink
ci: Use VS2022 on Windows-latest
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisv committed Jan 24, 2025
1 parent 563b56a commit a383d12
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 13 deletions.
22 changes: 9 additions & 13 deletions .github/workflows/ci-linux-osx-win-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,21 +62,17 @@ jobs:

- uses: conda-incubator/setup-miniconda@v3
with:
miniforge-version: latest
activate-environment: proxsuite
channels: conda-forge
conda-remove-defaults: "true"
environment-file: .github/workflows/conda/environment.yml
auto-activate-base: false
auto-update-conda: true


- name: Install dependencies [Conda]
- name: Install dependencies [Conda/Windows-latest]
if: contains(matrix.os, 'windows-latest')
shell: bash -l {0}
run: |
# Compilation related dependencies
conda install cmake compilers make pkg-config doxygen ninja graphviz typing_extensions llvm-openmp clang
# Main dependencies
conda install eigen simde
# Test dependencies
conda install libmatio numpy scipy
# Use VS2022 on Windows-latest
conda install vs2022_win-64
- name: Install julia [Linux]
if: contains(matrix.os, 'ubuntu')
Expand Down Expand Up @@ -119,7 +115,7 @@ jobs:
- name: Configure [Conda/Windows]
if: contains(matrix.os, 'windows-')
# It's better to use CMD to have all MSVC variables setup
# It's better to use CMD to have all VS variables setup
shell: cmd /C CALL {0}
run: |
git submodule update --init
Expand All @@ -138,7 +134,7 @@ jobs:
- name: Build [Conda/Windows]
if: contains(matrix.os, 'windows-')
# It's better to use CMD to have all MSVC variables setup
# It's better to use CMD to have all VS variables setup
shell: cmd /C CALL {0}
run: |
cd build
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/conda/environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: proxsuite
channels:
- conda-forge
- nodefaults
dependencies:
- cmake
- compilers
- make
- pkg-config
- doxygen
- ninja
- graphviz
- typing_extensions
- llvm-openmp
- clang
- eigen
- simde
- libmatio
- numpy
- scipy

0 comments on commit a383d12

Please sign in to comment.