mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-01 10:04:03 +03:00
892a3b16da
* Docker cache try 2 * Update README.md * Fix restore-key * Update README.md
32 lines
753 B
YAML
32 lines
753 B
YAML
name: 'CI'
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v2
|
|
|
|
- uses: satackey/action-docker-layer-caching@v0.0.8
|
|
continue-on-error: true
|
|
with:
|
|
key: docker-cache-${{ hashFiles('docker/**') }}-{hash}
|
|
restore-keys: docker-cache-${{ hashFiles('docker/**') }}-
|
|
- name: Build docker image
|
|
uses: ./.github/actions/docker
|
|
|
|
- name: Build target_lo in docker
|
|
uses: ./.github/actions/docker
|
|
with:
|
|
run: make -C target_lo
|
|
|
|
- name: Build target_f1 in docker
|
|
uses: ./.github/actions/docker
|
|
with:
|
|
run: make -C target_f1
|