File tree Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Original file line number Diff line number Diff line change 3232 - name : Building library
3333 id : building-lib
3434 run : |
35- cd build && cmake --build . --config Debug --target all -j 10 --
35+ cd build && cmake --build . --config Debug --target all install -j 10 --
36+ - name : Tests
37+ id : test-lib
38+ run : |
39+ cd build
40+ ctest -j10 -C Debug -T test --output-on-failure -T test --output-on-failure
3641 - name : Cleanup
3742 id : clean-up
3843 run : |
@@ -55,12 +60,16 @@ jobs:
5560 id : building-lib
5661 run : |
5762 cd build
58- cmake --build . --config Release --target casbin -j 10 --
63+ cmake --build . --config Debug --target casbin gtest gtest_main gmock gmock_main casbintest -j 10 --
64+ - name : Tests
65+ id : test-lib
66+ run : |
67+ cd build
68+ ctest -j10 -C Debug -T test --output-on-failure -T test --output-on-failure
5969 - name : Cleanup
6070 id : clean-up
6171 run : |
6272 rm -r build
63- rm -r lib
6473
6574 macos :
6675 name : " macOS Catalina 10.15 (AppleClang 12.0)"
7685 - name : Building library
7786 id : building-lib
7887 run : |
79- cd build && cmake --build . --config Debug --target all -j 10 --
88+ cd build && cmake --build . --config Debug --target all install -j 10 --
89+ - name : Tests
90+ id : test-lib
91+ run : |
92+ cd build
93+ ctest -j10 -C Debug -T test --output-on-failure -T test --output-on-failure
8094 - name : Cleanup
8195 id : clean-up
8296 run : |
You can’t perform that action at this time.
0 commit comments