Skip to content

Commit

Permalink
Merge pull request #10 from HyperloopUPV-H8/test_automated_build
Browse files Browse the repository at this point in the history
Automated build in template project, by default against STLIB:development
  • Loading branch information
g0nz4I0 authored Dec 8, 2023
2 parents 0ab029a + 4f3c77b commit 32b15c5
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: C/C++ CI

on:
push:
branches: [ "main" ,"test_automated_build"]
pull_request:
branches: [ "main" ]

jobs:
build_template_project:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
repository: HyperloopUPV-H8/ST-LIB
ref: development
- uses: carlosperate/arm-none-eabi-gcc-action@v1
- run: arm-none-eabi-gcc --version
- name: Install dependencies
run: pip install GitPython colorama
- name: Set up ST-LIB
run: ls && cp -r ../* /opt/ && mv /opt/template-project /opt/ST-LIB
- name: Display ST-LIB
run: ls /opt/ST-LIB
- uses: actions/checkout@v3
with:
repository: ' '
- name: Invoking python
run: python3 tools/build.py -eth ON -t NUCLEO -bb Debug

0 comments on commit 32b15c5

Please sign in to comment.