Cache GVSoC #5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |