clear screen when load game #446
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
name: pixl.js-fw | |
on: | |
push: | |
branches: [ "develop"] | |
tags: ["*"] | |
pull_request: | |
types: ["opened"] | |
branches: ["develop"] | |
workflow_dispatch: | |
jobs: | |
build: | |
strategy: | |
matrix: | |
board: ["LCD", "OLED"] | |
runs-on: ubuntu-latest | |
container: solosky/nrf52-sdk:latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: 'true' | |
- name: Change Owner of Container Working Directory | |
run: chown root:root . | |
- name: build firmware | |
run: cd fw && make all RELEASE=1 APP_VERSION=$GITHUB_RUN_NUMBER BOARD=${{matrix.board}} | |
- name: upload bootloader | |
uses: actions/upload-artifact@v3 | |
with: | |
name: pixljs_fw_${{matrix.board}} | |
path: fw/_build/bootloader.hex | |
- name: upload firmware | |
uses: actions/upload-artifact@v3 | |
with: | |
name: pixljs_fw_${{matrix.board}} | |
path: fw/_build/pixljs.hex | |
- name: upload all | |
uses: actions/upload-artifact@v3 | |
with: | |
name: pixljs_fw_${{matrix.board}} | |
path: fw/_build/pixljs_all.hex | |
- name: upload ota | |
uses: actions/upload-artifact@v3 | |
with: | |
name: pixljs_fw_${{matrix.board}} | |
path: fw/_build/pixjs_ota_v${{github.run_number}}.zip | |
- name: upload fw update script | |
uses: actions/upload-artifact@v3 | |
with: | |
name: pixljs_fw_${{matrix.board}} | |
path: fw/scripts/fw_update.bat | |
- name: upload fw readme file | |
uses: actions/upload-artifact@v3 | |
with: | |
name: pixljs_fw_${{matrix.board}} | |
path: fw/docs/fw_readme.txt |