-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (29 loc) · 904 Bytes
/
c-cpp.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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/${{ github.event.repository.name }}t /opt/ST-LIB
- name: Print repo data
run: echo ${{ github.event.repository.name }}
- 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