Skip to content

Optimize build workflow (#2) #41

Optimize build workflow (#2)

Optimize build workflow (#2) #41

Workflow file for this run

name: Build Snake Game Project
on:
push:
branches:
- main
- build
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Pull project
uses: actions/checkout@v3
with:
submodules: 'recursive'
- name: Build project
run: |
sudo apt-get install gcc-arm-none-eabi
cd Release/
make all
cd ../Debug/
make all
- name: Download Release firmware
uses: actions/upload-artifact@v3
with:
name: SnakeRelease
path: Release/Snake.*
- name: Download Debug firmware
uses: actions/upload-artifact@v3
with:
name: SnakeDebug
path: Debug/Snake.*