Skip to content

CI: Zephyr, test against known working version and also the very latest on main #1162

CI: Zephyr, test against known working version and also the very latest on main

CI: Zephyr, test against known working version and also the very latest on main #1162

# SPDX-License-Identifier: BSD-3-Clause
# Copyright (c) 2020 STMicroelectronics
name: open-amp lib Continuous Integration
on:
push:
branches: [ main ]
paths-ignore:
- docs/**
- cmake/**
- scripts/**
pull_request:
branches: [ main ]
paths-ignore:
- docs/**
- cmake/**
- scripts/**
jobs:
platform_builds:
name: check builds on different platforms
runs-on: ubuntu-latest
steps:
- name: Checkout open-amp
uses: actions/checkout@v3
- name: Checkout libmetal
uses: actions/checkout@v3
with:
repository: OpenAMP/libmetal
path: libmetal
- name: build for Linux
id: build_linux
uses: ./.github/actions/build_ci
with:
target: linux
- name: build for generic arm
id: build_generic
uses: ./.github/actions/build_ci
with:
target: generic
# Break the zephyr builds into their own job as the common runner was
# running out of space when runs were together
# Also, as the longest running jobs, this allows them to run in ||
zephyr_build_known_good_version:
name: Zephyr build with a version that is known to work
runs-on: ubuntu-latest
steps:
- name: Checkout open-amp
uses: actions/checkout@v4
- name: Checkout libmetal
uses: actions/checkout@v4
with:
repository: OpenAMP/libmetal
path: libmetal
- name: build for Zephyr (Known Good)
id: build_Zephyr
uses: ./.github/actions/build_ci
with:
target: zephyr