CBL-Mariner/.github/workflows/check-circular-deps.yml

28 строки
863 B
YAML

# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
name: Circular dependency check
on:
push:
branches: [3.0*, fasttrack/*, "!fasttrack/2.0"]
pull_request:
branches: [3.0*, fasttrack/*, "!fasttrack/2.0"]
jobs:
spec-check:
name: Circular dependency check
runs-on: ubuntu-latest
steps:
# Checkout the branch of our repo that triggered this action
- name: Workflow trigger checkout
uses: actions/checkout@v4
- name: Check for circular dependencies
run: |
echo "Checking for circular dependency loops..."
# Setup the toolchain using the LKG daily build, and then make the full package graph.
# This will fail if any circular dependency loops are detected in the core SPECs.
sudo make -C toolkit graph REBUILD_TOOLS=y DAILY_BUILD_ID=lkg -j30