Skip to content

Commit

Permalink
fix: Fixed CI
Browse files Browse the repository at this point in the history
Signed-off-by: Yash Pandey (YP) <yash.btech.cs19@iiitranchi.ac.in>
  • Loading branch information
EmperorYP7 committed Jun 16, 2021
1 parent 5f73b84 commit fbad426
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,12 @@ jobs:
- name: Building library
id: building-lib
run: |
cd build && cmake --build . --config Debug --target all -j 10 --
cd build && cmake --build . --config Debug --target all install -j 10 --
- name: Tests
id: test-lib
run: |
cd build
ctest -j10 -C Debug -T test --output-on-failure -T test --output-on-failure
- name: Cleanup
id: clean-up
run: |
Expand All @@ -55,12 +60,16 @@ jobs:
id: building-lib
run: |
cd build
cmake --build . --config Release --target casbin -j 10 --
cmake --build . --config Debug --target casbin gtest gtest_main gmock gmock_main casbintest -j 10 --
- name: Tests
id: test-lib
run: |
cd build
ctest -j10 -C Debug -T test --output-on-failure -T test --output-on-failure
- name: Cleanup
id: clean-up
run: |
rm -r build
rm -r lib
macos:
name: "macOS Catalina 10.15 (AppleClang 12.0)"
Expand All @@ -76,7 +85,12 @@ jobs:
- name: Building library
id: building-lib
run: |
cd build && cmake --build . --config Debug --target all -j 10 --
cd build && cmake --build . --config Debug --target all install -j 10 --
- name: Tests
id: test-lib
run: |
cd build
ctest -j10 -C Debug -T test --output-on-failure -T test --output-on-failure
- name: Cleanup
id: clean-up
run: |
Expand Down

0 comments on commit fbad426

Please sign in to comment.