Development: clara 1.0.0 #20
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Clara Test Windows | |
on: | |
push: | |
branches: | |
- main | |
- development | |
pull_request: | |
branches: | |
- main | |
- development | |
jobs: | |
build-and-testing-windows: | |
runs-on: windows-latest | |
env: | |
EIGEN3_INCLUDE_DIR: C:\tools\eigen\include | |
steps: | |
- name: checkout repository | |
uses: actions/checkout@v3 | |
- name: Install Eigen (windows) | |
run: choco install eigen | |
- name: Install googletest | |
shell: powershell | |
run: | | |
cd clara_test | |
echo "Initialize windows" | |
git clone https://github.com/google/googletest.git -b release-1.11.0 | |
cd googletest | |
mkdir build | |
cd build | |
cmake .. | |
cmake --build . --config Release --target install | |
cd ../.. | |
Remove-Item -Recurse -Force googletest | |
- name: testing | |
run: | | |
mkdir build | |
cd build | |
cmake -f ../CMakeListsWindows.txt | |
cmake --build . --config Release |