Skip to content

Commit dff84c4

Browse files
committed
fix cmake call
1 parent d2fa074 commit dff84c4

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/test.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,13 @@ jobs:
100100
101101
# one build dir for everything: executables + Python module
102102
$build = Join-Path $env:GITHUB_WORKSPACE 'Release'
103-
cd $build
104-
cmake -G Ninja `
103+
cmake -S . -B $build -G Ninja `
105104
-DCMAKE_BUILD_TYPE=Release `
105+
-DEIGEN_BUILD_BLAS=OFF `
106+
-DEIGEN_BUILD_DOC=OFF -DEIGEN_TEST_FORTRAN=OFF -DEIGEN_TEST_CXX11=OFF -DEIGEN_TEST_NOQT=ON `
107+
-DCMAKE_Fortran_COMPILER:FILEPATH=""
106108
-DENABLE_DISTRIBUTION=ON `
107-
..
108-
cmake --build . --parallel 2
109+
cmake --build $build --parallel 2
109110
110111
Write-Host "`n=== Release tree (3 levels) ==="
111112
$root = Join-Path $env:GITHUB_WORKSPACE 'Release/src/interface/'

0 commit comments

Comments
 (0)