Skip to content

cmake: Search zephyrbt_user.h inside include folder #47

cmake: Search zephyrbt_user.h inside include folder

cmake: Search zephyrbt_user.h inside include folder #47

Workflow file for this run

name: "Continuous Integration"
on:
pull_request:
merge_group:
push:
branches:
- "master"
concurrency:
group: ${{ github.repository }}-${{ github.workflow }}
cancel-in-progress: false
jobs:
nix-matrix:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v15
- uses: DeterminateSystems/magic-nix-cache-action@v8
- id: set-matrix
name: Generate Nix Matrix
run: |
set -euo pipefail
matrix="$(nix eval --json '.#githubActions.matrix')"
echo "matrix=${matrix}" >> "$GITHUB_OUTPUT"
nix-build:
needs: nix-matrix
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
max-parallel: 10
matrix: ${{ fromJSON(needs.nix-matrix.outputs.matrix) }}
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v15
- uses: DeterminateSystems/magic-nix-cache-action@v8
- run: nix build -L ".#${{ matrix.attr }}" --keep-going
- name: Twister Tests
uses: workflow/[email protected]
id: twister-tests
with:
flakes-from-devshell: true
script: |
west init -l .
west config --global update.narrow true
west update
./scripts/run-tests --clobber-output --inline-logs -v -N -M
- name: Merge Test Results
if: steps.twister-tests.conclusion == 'failure'
run: |
pip3 install junitparser junit2html
junitparser merge **/twister.xml junit.xml
junit2html junit.xml junit.html
- name: Upload Unit Test Results in HTML
if: steps.twister-tests.conclusion == 'failure'
uses: actions/upload-artifact@v4
with:
name: HTML Unit Test Results
if-no-files-found: ignore
path: |
junit.html
- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
if: steps.twister-tests.conclusion == 'failure'
with:
check_name: Unit Test Results
github_token: ${{ secrets.GITHUB_TOKEN }}
files: "**/twister.xml"