Skip to content

Commit

Permalink
fix: experiment with reusable workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
diogomatsubara committed Dec 17, 2024
1 parent b69f65f commit 5220cbc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build-shared.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@
name: build-shared

on:
push:
branches: [ '**' ]
pull_request:
branches: [ '**' ]
workflow_call:

jobs:
build:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,10 @@ jobs:
python3 ./build/tests/no_router.py
timeout-minutes: 5

build_shared:
name: Build shared libs
uses: ./.github/workflows/build-shared.yaml

# NOTE: In GitHub repository settings, the "Require status checks to pass
# before merging" branch protection rule ensures that commits are only merged
# from branches where specific status checks have passed. These checks are
Expand All @@ -304,7 +308,7 @@ jobs:
ci:
name: CI status checks
runs-on: ubuntu-latest
needs: [run_tests, check_format, c99_build, raweth_build, zenoh_build, modular_build, unstable_build, st_build, fragment_test, attachment_test, memory_leak_test, no_router]
needs: [run_tests, check_format, c99_build, raweth_build, zenoh_build, modular_build, unstable_build, st_build, fragment_test, attachment_test, memory_leak_test, no_router, build_shared]
if: always()
steps:
- name: Check whether all jobs pass
Expand Down

0 comments on commit 5220cbc

Please sign in to comment.