Skip to content

Commit

Permalink
limit CI run for only interesed Windows test
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeyChashchegorov committed Mar 17, 2024
1 parent 758b4ee commit ef2e38e
Showing 1 changed file with 2 additions and 52 deletions.
54 changes: 2 additions & 52 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit ef2e38e

Please sign in to comment.