Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Configuring CMake files
id: building-files
run: |
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ on: [push, pull_request]

jobs:
linux:
name: "Ubuntu Latest (GNU 9.3.0)"
name: "Ubuntu Latest"
runs-on: ubuntu-latest
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Configuring CMake files
id: building-files
run: |
Expand All @@ -43,12 +43,12 @@ jobs:
rm -r build

windows:
name: "Windows Latest (MSVC 19.29)"
name: "Windows Latest"
runs-on: windows-latest
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Configuring CMake files
id: building-files
run: |
Expand All @@ -64,15 +64,15 @@ jobs:
id: test-lib
run: |
cd build
ctest -j10 -C Release -T test --output-on-failure
ctest -j10 -C Debug -T test --output-on-failure

macos:
name: "macOS Latest (AppleClang 12.0)"
name: "macOS Latest"
runs-on: macos-latest
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Configuring CMake files
id: building-files
run: |
Expand All @@ -85,7 +85,7 @@ jobs:
id: test-lib
run: |
cd build
ctest -j10 -C Release -T test --output-on-failure
ctest -j10 -C Debug -T test --output-on-failure
- name: Cleanup
id: clean-up
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/memcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ on: [push, pull_request]

jobs:
linux:
name: "Ubuntu Latest (GNU 9.3.0)"
name: "Ubuntu Latest"
runs-on: ubuntu-latest
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Install requirement
id: install-requirements
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python_binding.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ jobs:
runs-on: ${{ matrix.platform }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-python@v2
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Add requirements
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,17 @@ jobs:
semantic-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'

- name: Run semantic-release
if: github.repository == 'casbin/casbin-cpp' && github.event_name == 'push'
run: |
export PATH="$(yarn global bin):$PATH"
yarn global add semantic-release@19.0.5
npm install -g semantic-release@19.0.5
semantic-release
sleep 10
env:
Expand Down
Loading