Files
onepilot/.github/workflows/compile-openpilot/action.yaml
2026-02-20 15:48:09 -08:00

22 lines
579 B
YAML

name: 'compile openpilot'
runs:
using: "composite"
steps:
- shell: bash
name: Build openpilot with all flags
run: |
scons -j$(nproc)
release/check-dirty.sh
- shell: bash
name: Cleanup scons cache and rebuild
run: |
rm -rf /tmp/scons_cache/*
scons -j$(nproc) --cache-populate
- name: Save scons cache
uses: actions/cache/save@v4
if: github.ref == 'refs/heads/master'
with:
path: /tmp/scons_cache
key: scons-${{ runner.arch }}-${{ env.CACHE_COMMIT_DATE }}-${{ github.sha }}