Skip to content

Commit

Permalink
Fix cmake build and test on appveyor
Browse files Browse the repository at this point in the history
Comment validation tests for now, script does not work
  • Loading branch information
peterNordin committed Dec 17, 2024
1 parent 8c33e4e commit 55f03b5
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,15 @@ build_script:
- setupMsgpack.bat
- call setHopsanBuildPaths.bat
- cd ..
- mkdir build
- cd build
- cmake -G"MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release ..\
- cmake --build . --config Release --parallel 6
- cd ..
- cmake -G"MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=install_dir -Bbuild_dir -S.
- cmake --build build_dir --config Release --parallel 6
- cmake --build build_dir --config Release --parallel 6 --target install
- cd install_dir
- dir bin
- cd ..
test_script:
- runUnitTests.bat
- runValidationTests.bat
- cd build_dir
- ctest -C Release --output-on-failure --parallel 4
- cd ..
# - set PATH=%CD%\install\bin;%PATH%
# - runValidationTests.bat TODO Fix this

0 comments on commit 55f03b5

Please sign in to comment.