Skip to content

CI: stop Draft runner flood, scope main and firmware pushes, package on demand #407

CI: stop Draft runner flood, scope main and firmware pushes, package on demand

CI: stop Draft runner flood, scope main and firmware pushes, package on demand #407

name: SCL-Assisted Connect CI
on:
push:
branches: [main]
paths:
- 'include/ariec61850/mms/scl_assisted_connect.hpp'
- 'include/ariec61850/mms/scl_association.hpp'
- 'include/ariec61850/mms/scl_sync_health.hpp'
- 'include/ariec61850/mms/association_runtime.hpp'
- 'include/ariec61850/mms/live_discovery.hpp'
- 'src/mms/**'
- 'src/scl/**'
- 'include/ariec61850/scl/**'
- 'apps/ied_simulator/src/MmsSclClientProjection.hpp'
- 'tests/test_scl_assisted_connect.cpp'
- 'tests/test_scl_association_addressing.cpp'
- 'tests/test_scl_sync_health.cpp'
- 'tests/test_scl_projection_health.cpp'
- 'tests/scl_assisted_profile/**'
- '.github/workflows/scl-assisted-connect-ci.yml'
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- 'include/ariec61850/mms/scl_assisted_connect.hpp'
- 'include/ariec61850/mms/scl_association.hpp'
- 'include/ariec61850/mms/scl_sync_health.hpp'
- 'include/ariec61850/mms/association_runtime.hpp'
- 'include/ariec61850/mms/live_discovery.hpp'
- 'src/mms/**'
- 'src/scl/**'
- 'include/ariec61850/scl/**'
- 'apps/ied_simulator/src/MmsSclClientProjection.hpp'
- 'tests/test_scl_assisted_connect.cpp'
- 'tests/test_scl_association_addressing.cpp'
- 'tests/test_scl_sync_health.cpp'
- 'tests/test_scl_projection_health.cpp'
- 'tests/scl_assisted_profile/**'
- '.github/workflows/scl-assisted-connect-ci.yml'
concurrency:
group: scl-assisted-connect-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
linux-profile:
if: ${{ github.event_name != 'pull_request' || !github.event.pull_request.draft }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Configure portable profile gates
run: >-
cmake -S tests/scl_assisted_profile -B build-scl-assisted-profile
-DCMAKE_BUILD_TYPE=Release
- name: Build SCL-assisted profile gates
run: >-
cmake --build build-scl-assisted-profile
--target scl_assisted_connect_profile scl_association_addressing_profile scl_sync_health_profile scl_projection_health_profile
--parallel 2
- name: Run SCL-assisted wire-profile regression
run: ./build-scl-assisted-profile/scl_assisted_connect_profile
- name: Run SCL association-addressing regression
run: ./build-scl-assisted-profile/scl_association_addressing_profile
- name: Run trusted-SCL identity-health regression
run: ./build-scl-assisted-profile/scl_sync_health_profile
- name: Run trusted-SCL product-projection health regression
run: ./build-scl-assisted-profile/scl_projection_health_profile