File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed
Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change 3030 VTK_SHORTVER : 9.4
3131 ITK_VERSION : 5.4.2
3232 ITK_SHORTVER : 5.4
33+ EIGEN_GITREF : d791d48859c6
3334
3435jobs :
3536 build :
4950
5051 - name : Checkout open_iA
5152 uses : actions/checkout@v4
53+ with :
54+ submodules : true
55+ fetch-tags : true
56+ fetch-depth : 500
5257
5358 - name : Qt install
5459 # see https://github.com/marketplace/actions/install-qt for details
@@ -148,6 +153,21 @@ jobs:
148153 run : |
149154 "ITK_DIR=${{github.workspace}}/itk-${{ env.ITK_VERSION }}" >> $env:GITHUB_ENV
150155
156+ - name : Check cache for eigen
157+ id : cache-eigen
158+ uses : actions/cache@v4
159+ with :
160+ path : eigen-${{env.EIGEN_GITREF}}
161+ key : eigen-${{env.EIGEN_GITREF}}
162+ - if : steps.cache-eigen.outputs.cache-hit != 'true'
163+ name : Clone eigen repository
164+ uses : actions/checkout@v4
165+ with :
166+ repository : ' https://gitlab.com/libeigen/eigen.git'
167+ ref : ${{env.EIGEN_GITREF}}
168+ token : ' '
169+ path : ' eigen-${{env.EIGEN_GITREF}}'
170+
151171 - name : Install npm
152172 uses : actions/setup-node@v4
153173 with :
@@ -165,7 +185,7 @@ jobs:
165185 run : |
166186 mkdir bin
167187 cd bin
168- cmake -B . -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} ${{env.OPENIA_CMAKE_OPTIONS}} -DITK_DIR=${{env.ITK_DIR}} ..
188+ cmake -B . -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} ${{env.OPENIA_CMAKE_OPTIONS}} -DITK_DIR=${{env.ITK_DIR}} -DEIGEN3_INCLUDE_DIR=${{github.workspace}}/eigen-${{env.EIGEN_GITREF}} ..
169189 cmake --build . --config ${{env.BUILD_TYPE}} -j 4
170190 cmake --install . --config ${{env.BUILD_TYPE}} --prefix ${{github.workspace}}/install
171191
You can’t perform that action at this time.
0 commit comments