Skip to content

Commit

Permalink
[wip] Windows workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jnbrunet committed May 7, 2022
1 parent 1e61133 commit 75773c2
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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) }}
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 75773c2

Please sign in to comment.