mirror of
https://github.com/OpenAMP/open-amp.git
synced 2026-10-02 18:23:21 +08:00
Add jlumbroso/free-disk-space action to clean-up the workspace before running action. Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
61 lines
1.6 KiB
YAML
61 lines
1.6 KiB
YAML
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright (c) 2024 Linaro Limited.
|
|
|
|
# The focus of this flow is to check for external changes that will effect
|
|
# the project. Even if no code changes are happening, changes in external
|
|
# distros or projects can invalidate our work and this flow lets us know
|
|
|
|
name: open-amp Heath Check
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
branches: [ main ]
|
|
paths-ignore:
|
|
- docs/**
|
|
|
|
# Allows you to run this workflow manually from the Actions tab or gh API
|
|
workflow_dispatch:
|
|
|
|
# run weekly on Sunday at 5:10 AM UTC (9:10 PM US western)
|
|
schedule:
|
|
- cron: '10 5 * * 0'
|
|
|
|
jobs:
|
|
zephyr_build_main:
|
|
name: 'Zephyr build from latest on main'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Free Disk Space (Ubuntu)
|
|
uses: jlumbroso/free-disk-space@main
|
|
with:
|
|
# this might remove tools that are actually needed,
|
|
# if set to "true" but frees about 6 GB
|
|
tool-cache: false
|
|
android: true
|
|
dotnet: true
|
|
haskell: true
|
|
large-packages: true
|
|
docker-images: true
|
|
swap-storage: true
|
|
- name: Checkout open-amp
|
|
uses: actions/checkout@v4
|
|
with:
|
|
path: open-amp
|
|
- name: Checkout libmetal
|
|
uses: actions/checkout@v4
|
|
with:
|
|
repository: OpenAMP/libmetal
|
|
path: libmetal
|
|
- name: Checkout openamp-system-reference
|
|
uses: actions/checkout@v4
|
|
with:
|
|
repository: OpenAMP/openamp-system-reference
|
|
path: openamp-system-reference
|
|
- name: Zephyr Latest
|
|
id: build_Zephyr_latest
|
|
uses: ./open-amp/.github/actions/build_ci
|
|
with:
|
|
target: zephyr-latest
|