flipperzero-firmware/.github/workflows/ci.yml
あく 665f6d7d9c
Assets, Icons, UI toolkit. Part 1. (#202)
* Assets: import from gdrive
* Assets: fully working build pipeline and registry
* NFC: menu icon
* Gui: layers. Irukagotchi: base app to handle input on idle screen. Makefile: reboot after flash in dfu mode.
* ValueMutex: with lambda
* Assets: proper animation frames sorting
* ValueMutex: proper furi_open usage
* Assets,GUI: split icon into icon data and icon state.
* Format source code
* Docker: add python3 and imagemagic
* Irukagotchi: cleanup
* GUI: event lock moved to gui.
* Rfid: proper gui layer
* GUI: elements. Menu: frame and scroll
* GUI, Menu: format code.
* Menu: dual font main menu
* Menu: format sources
* GUI: 0 total scrollbar
* CI: enable lfs
* Menu: pixel perfect main menu

Co-authored-by: Aleksandr Kutuzov <aku@plooks.com>
Co-authored-by: aanper <mail@s3f.ru>
2020-10-26 20:00:17 +03:00

74 lines
1.9 KiB
YAML

name: 'CI'
on:
push:
branches: [ master ]
paths-ignore:
- 'wiki/**'
- 'wiki_static/**'
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: true
lfs: true
- 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: Check syntax
uses: ./.github/actions/docker
continue-on-error: false
with:
run: /syntax_check.sh
- name: Build F2 bootloader in docker
uses: ./.github/actions/docker
with:
run: make -C bootloader TARGET=f2
- name: Publish F2 bootloader artifacts
uses: actions/upload-artifact@v2
with:
name: bootloader_f2
path: |
bootloader/.obj/f2/bootloader.elf
bootloader/.obj/f2/bootloader.bin
bootloader/.obj/f2/bootloader.hex
if-no-files-found: error
- name: Build local testing firmware in docker
uses: ./.github/actions/docker
with:
run: make -C firmware TARGET=local
- name: Run local tests
uses: ./.github/actions/docker
with:
run: make -C firmware TARGET=local APP_TEST=1 run
- name: Build F2 firmware in docker
uses: ./.github/actions/docker
with:
run: make -C firmware TARGET=f2 APP_RELEASE=1
- name: Publish F2 firmware artifacts
uses: actions/upload-artifact@v2
with:
name: firmware_f2
path: |
firmware/.obj/f2/firmware.elf
firmware/.obj/f2/firmware.bin
firmware/.obj/f2/firmware.hex
if-no-files-found: error