diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 020a5a01..7b92f3fb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,31 +17,6 @@ name: CI on: [push, pull_request] jobs: - linux: - name: "Linux Ubuntu 20.04 (GNU 9.3.0)" - runs-on: ubuntu-20.04 - steps: - - name: Checkout - id: checkout - uses: actions/checkout@v2 - - name: Configuring CMake files - id: building-files - run: | - mkdir build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release - - name: Building library - id: building-lib - run: | - cd build && cmake --build . --config Release --target all -j 10 -- - - name: Tests - id: test-lib - run: | - cd build - ctest -j10 -C Release -T test --output-on-failure - - name: Cleanup - id: clean-up - run: | - rm -r build - windows: name: "Windows 10 (MSVC 19.29)" runs-on: windows-latest @@ -59,34 +34,9 @@ jobs: id: building-lib run: | cd build - cmake --build . --config Debug --target casbin gtest gtest_main gmock gmock_main casbintest -j 10 -- + cmake --build . --config Debug --target casbintest -j 10 -- - name: Tests id: test-lib run: | cd build - ctest -j10 -C Release -T test --output-on-failure - - macos: - name: "macOS Catalina 10.15 (AppleClang 12.0)" - runs-on: macos-latest - steps: - - name: Checkout - id: checkout - uses: actions/checkout@v2 - - name: Configuring CMake files - id: building-files - run: | - mkdir build && cd build && cmake .. - - name: Building library - id: building-lib - run: | - cd build && cmake --build . --config Debug --target all install -j 10 -- - - name: Tests - id: test-lib - run: | - cd build - ctest -j10 -C Release -T test --output-on-failure - - name: Cleanup - id: clean-up - run: | - rm -r build + ctest -j10 -C Release -T test -R "TestRBACAPI.TestImplicitUserAPI" --output-on-failure --verbose