Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions .github/workflows/GenerateCCache.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: GenerateCCache

on:
workflow_dispatch:
inputs:
docker_image_deeploy:
description: 'Deeploy Image to use'
required: false
default: 'ghcr.io/pulp-platform/deeploy:devel'
schedule:
# Runs the workflow on the default branch every day at 1AM CET to keep the cache fresh
- cron: "0 1 * * *"

jobs:

generate-ccache:
runs-on: ubuntu-latest
container:
image: ${{ github.event.inputs.docker_image_deeploy || 'ghcr.io/pulp-platform/deeploy:devel' }}
steps:
- name: Checkout Repo
uses: actions/checkout@v4
with:
submodules: recursive
- name: Build Deeploy
run: pip install -e .
- name: Generate CCache
run: |
cd DeeployTest
mkdir -p /app/.ccache
export CCACHE_DIR=/app/.ccache
python testRunner_generic.py -t ./Tests/Adder
python testRunner_mempool.py -t ./Tests/Adder
python testRunner_cortexm.py -t ./Tests/Adder
python testRunner_snitch.py -t ./Tests/Adder
python testRunner_siracusa.py -t ./Tests/Adder
python testRunner_tiled_siracusa.py -t ./Tests/Adder
python testRunner_tiled_siracusa_w_neureka.py -t ./Tests/Adder
- name: Clean and Upload CCache
uses: actions/cache@v4
with:
path: /app/.ccache
key: ccache-ci


5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ This file contains the changelog for the Deeploy project. The changelog is divid
This release containing major architectural changes, new platform support, enhanced simulation workflows, floating-point kernel support, training infrastructure for CCT models, memory allocation strategies, and documentation improvements.

### List of Pull Requests
- Cache Build Artefacts [#82](https://github.com/pulp-platform/Deeploy/pull/82)
- Fix Linting in CI and Reformat C Files [#86](https://github.com/pulp-platform/Deeploy/pull/86)
- Fix Broken CMake Flow For pulp-sdk [#87](https://github.com/pulp-platform/Deeploy/pull/87)
- Refactor Changelog For Release [#85](https://github.com/pulp-platform/Deeploy/pull/85)
Expand Down Expand Up @@ -57,6 +58,9 @@ This release containing major architectural changes, new platform support, enhan
- Port GitLab CI [#1](https://github.com/pulp-platform/Deeploy/pull/1)

### Added
- Generate CCcache action
- Concurrency group by branch name
- Define a default container on main branch
- Tutorial section in the documentation
- Guide on using the debug print topology pass and code transformation
- VSCode configuration files for improved IDE support
Expand Down Expand Up @@ -169,6 +173,7 @@ This release containing major architectural changes, new platform support, enhan
- Add helper script to generate a baseline changelog.

### Changed
- CI tests use ccache in a read-only manner
- Adapt the select docker image stage to also select a runner depending on ` github.repository`
- Adapt the jobs and reusable workflows to use the selected runner.
- Updated `README.md` description to use a persistent development container
Expand Down
Loading