Skip to content

Commit

Permalink
fix: test with specific command to test on windows
Browse files Browse the repository at this point in the history
Signed-off-by: slowy07 <[email protected]>
  • Loading branch information
slowy07 committed Aug 3, 2023
1 parent 34a6be6 commit 89a5639
Showing 1 changed file with 25 additions and 6 deletions.
31 changes: 25 additions & 6 deletions .github/workflows/cpp-testing-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,33 @@ jobs:
- name: Install Eigen (windows)
run: choco install eigen

- name: testing windows
- name: Clara testing windows
run: |
echo "check g++"
g++ --version
cd clara_test
.\run_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 ../..
rmdir /s /q googletest
- name: Build clara test windows
run: |
mkdir build
cd build
cmake ..
cmake --build . --config Release
- name: Running Clara test windows
run: |
echo "running"
echo "result from clara test"
cd build/tests
./clara_testing.exe
- name: testing grover search (windows)
run:
run: |
g++ -pedantic -std=c++11 -Wall -Wextra -Weffc++ -fopenmp -g3 -DDEBUG -I C:\tools\eigen\include -I C:\clara\include testing\grover_search.cpp -o grover_search.exe
grover_search.exe

0 comments on commit 89a5639

Please sign in to comment.