mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-15 22:32:11 +08:00
4012d181e1
date: 2024-03-17T10:14:38 master commit: 7e9a909e0e57ecb31df4c87c5b9a06b1204fd034
22 lines
660 B
YAML
22 lines
660 B
YAML
name: 'compile openpilot'
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- shell: bash
|
|
name: Build openpilot with all flags
|
|
run: |
|
|
${{ env.RUN }} "scons -j$(nproc)"
|
|
${{ env.RUN }} "release/check-dirty.sh"
|
|
- shell: bash
|
|
name: Cleanup scons cache and rebuild
|
|
run: |
|
|
${{ env.RUN }} "rm -rf /tmp/scons_cache/* && \
|
|
scons -j$(nproc) --cache-populate"
|
|
- name: Save scons cache
|
|
uses: actions/cache/save@v3
|
|
if: github.ref == 'refs/heads/master'
|
|
with:
|
|
path: .ci_cache/scons_cache
|
|
key: scons-${{ runner.arch }}-${{ env.CACHE_COMMIT_DATE }}-${{ github.sha }}
|