Skip to content

Commit d6df357

Browse files
Build action (#1)
Implement build firmware workflow.
1 parent 4044489 commit d6df357

File tree

109 files changed

+302
-33913
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+302
-33913
lines changed

.cproject

Lines changed: 265 additions & 0 deletions
Large diffs are not rendered by default.

.github/workflows/build.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Build Snake Game Project
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Pull project
13+
uses: actions/checkout@v3
14+
with:
15+
submodules: 'recursive'
16+
17+
- name: Build project
18+
uses: xanderhendriks/action-build-stm32cubeide@v7.2
19+
with:
20+
project-path: './'
21+
project-target: 'Snake'
22+
23+
- name: Download Release firmware
24+
uses: actions/upload-artifact@v3
25+
with:
26+
name: SnakeRelease
27+
path: Release/*.*
28+
29+
- name: Download Debug firmware
30+
uses: actions/upload-artifact@v3
31+
with:
32+
name: SnakeDebug
33+
path: Debug/*.*

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,3 +136,7 @@ local.properties
136136
### Eclipse Patch ###
137137
# Spring Boot Tooling
138138
.sts4-cache/
139+
140+
### Build Folders ###
141+
Release/
142+
Debug/

Debug/Core/Src/freertos.cyclo

Whitespace-only changes.

Debug/Core/Src/main.cyclo

Lines changed: 0 additions & 36 deletions
This file was deleted.

Debug/Core/Src/stm32f4xx_hal_msp.cyclo

Lines changed: 0 additions & 1 deletion
This file was deleted.

Debug/Core/Src/stm32f4xx_it.cyclo

Lines changed: 0 additions & 7 deletions
This file was deleted.

Debug/Core/Src/subdir.mk

Lines changed: 0 additions & 51 deletions
This file was deleted.

Debug/Core/Src/syscalls.cyclo

Lines changed: 0 additions & 18 deletions
This file was deleted.

Debug/Core/Src/sysmem.cyclo

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)