Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Build and Test All

Build and Test All #3

name: Build and Test All
on:
pull_request:
workflow_call:
workflow_dispatch:
jobs:
rootfs:
uses: ./.github/workflows/rootfs.yml
strategy:
matrix:
arch: [x86_64]
with:
host-os: ubuntu-22.04
arch: ${{ matrix.arch }}
use-cached: true
kernel_build_configs:
runs-on: ubuntu-22.04
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v5
- id: set-matrix
run: python3 generate-kernel-build-configs.py
build-and-test:
uses: ./.github/workflows/build-and-test.yml
needs: [rootfs, kernel_build_configs]
strategy:
matrix:
kernel: ${{fromJson(needs.kernel_build_configs.outputs.matrix)}}
with:
host-os: ubuntu-22.04
ack: ${{ matrix.kernel.ack }}
arch: ${{ matrix.kernel.arch }}
version: ${{ matrix.kernel.version }}
enable: ${{ matrix.kernel.enable }}

Check failure on line 38 in .github/workflows/build-and-test-all.yml

View workflow run for this annotation

GitHub Actions / Build and Test All

Invalid workflow file

The workflow is not valid. .github/workflows/build-and-test-all.yml (Line: 38, Col: 15): Invalid input, enable is not defined in the referenced workflow. .github/workflows/build-and-test-all.yml (Line: 39, Col: 16): Invalid input, disable is not defined in the referenced workflow.
disable: ${{ matrix.kernel.disable }}