Skip to content

Cache GVSoC

Cache GVSoC #3

Workflow file for this run

name: Cache GVSoC
on: workflow_dispatch
jobs:
build-and-cache-job:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
repository: lukamac/gvsoc
ref: siracusa-mac
submodules: recursive
path: gvsoc
- name: Install Apt Packages
run: |
sudo apt-get update
sudo apt-get install -y \
autoconf \
automake \
build-essential \
curl \
cmake \
libtool \
texinfo
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install Python Packages
run: pip install -r gvsoc/requirements.txt -r gvsoc/gapy/requirements.txt -r gvsoc/core/requirements.txt
- name: Build
run: |
cd gvsoc
make all TARGETS=siracusa
- name: Cache
uses: actions/cache/save@v4
with:
path: gvsoc/install
key: gvsoc