From 75773c24925d874d9774e2d552900366b5966229 Mon Sep 17 00:00:00 2001 From: Jean-Nicolas Brunet Date: Sat, 7 May 2022 13:47:16 -0400 Subject: [PATCH] [wip] Windows workflow --- .github/workflows/windows.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index df9ae809..aa3a27ef 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -15,12 +15,16 @@ jobs: strategy: fail-fast: false matrix: - sofa_version: [ master ] + sofa_version: [ v21.12.00, master ] include: - sofa_version: master PYTHON_VERSION: 3.8 EIGEN_VERSION: 3.4 PYBIND11_VERSION: 2.4.3 + - sofa_version: v21.12.00 + PYTHON_VERSION: 3.7 + EIGEN_VERSION: 3.3.7 + PYBIND11_VERSION: 2.4.3 env: SOFA_VERSION: ${{ matrix.sofa_version }} SOFA_ROOT: ${{ format('{0}/sofa', github.workspace) }} @@ -30,6 +34,7 @@ jobs: PYTHON_VERSION: ${{ matrix.PYTHON_VERSION }} BOOST_ROOT: ${{ format('{0}/boost', github.workspace) }} EIGEN_ROOT: ${{ format('{0}/eigen', github.workspace) }} + EIGEN_VERSION: ${{ matrix.EIGEN_VERSION }} steps: - uses: actions/checkout@v2 @@ -59,7 +64,7 @@ jobs: if: steps.cache-eigen.outputs.cache-hit != 'true' shell: bash run: | - git clone --depth 1 -b 3.4 https://gitlab.com/libeigen/eigen.git eigen_src + git clone --depth 1 -b $EIGEN_VERSION https://gitlab.com/libeigen/eigen.git eigen_src cmake -S eigen_src -B eigen_src/build -DCMAKE_BUILD_TYPE=Release -DEIGEN_BUILD_DOC=OFF -DCMAKE_INSTALL_PREFIX="$EIGEN_ROOT" cmake --build eigen_src/build --target install