Merge pull request #932 from CHIP-SPV/prepare-builtins #4
This file contains 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
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: [self-hosted, X64] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
submodules: 'recursive' | |
- name: Setup ccache | |
uses: hendrikmuhs/ccache-action@v1.2 | |
- name: Cache build artifacts | |
uses: actions/cache@v3 | |
with: | |
path: | | |
build | |
~/.cache/ccache | |
key: ${{ runner.os }}-build-${{ github.sha }} | |
restore-keys: | | |
${{ runner.os }}-build- | |
- name: Build | |
shell: bash | |
run: | | |
./scripts/unit_tests.sh release llvm-19 --build-only | |
- name: Update nightly cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
build | |
~/.cache/ccache | |
key: nightly-build-${{ github.sha }} |