Skip to content

Commit 933fb93

Browse files
committed
no github action for now
1 parent 2796edb commit 933fb93

File tree

2 files changed

+30
-37
lines changed

2 files changed

+30
-37
lines changed

.github/workflows/ci-pipeline.yml

Lines changed: 29 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,34 @@
11
name: CI Pipeline
22

33
on:
4-
push:
4+
push:
55

66
jobs:
7-
run-pipeline:
8-
name: Run CI Pipeline
9-
runs-on: ubuntu-22.04
10-
continue-on-error: true
11-
12-
steps:
13-
- name: Checkout this repo
14-
uses: actions/checkout@v4
15-
with:
16-
submodules: true
17-
18-
- name: Install dependencies
19-
run: |
20-
sudo apt update \
21-
&& sudo apt install --no-install-recommends -y xz-utils cmake ninja-build lcov gcc g++ make libc6-dev
22-
wget https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi.tar.xz -O /tmp/arm-gcc.tar.xz
23-
tar -xf /tmp/arm-gcc.tar.xz -C /opt
24-
echo "/opt/arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi/bin" >> $GITHUB_PATH
25-
26-
- name: Build firmware binary debug
27-
run: ./scripts/run.sh build debug
28-
29-
- name: Build firmware binary release
30-
run: ./scripts/run.sh build release
31-
32-
- name: Build and run unit tests
33-
run: |
34-
./scripts/run.sh cleanall
35-
./scripts/run.sh test
36-
37-
- name: Run formatting check
38-
uses: waterloo-rocketry/actions/clang-format-check@main
39-
with:
40-
clang-format-config-path: 'src/third_party/rocketlib/.clang-format'
41-
c-source-files: 'src/application/*/*.c src/application/*/*.h src/drivers/*/*.c src/drivers/*/*.h src/common/*/*.h src/common/*/*c'
7+
run-pipeline:
8+
name: Run CI Pipeline
9+
runs-on: ubuntu-22.04
10+
continue-on-error: true
11+
12+
steps:
13+
- name: Checkout this repo
14+
uses: actions/checkout@v4
15+
with:
16+
submodules: true
17+
18+
- name: Install dependencies
19+
run:
20+
21+
- name: Build firmware binary debug
22+
run:
23+
24+
- name: Build firmware binary release
25+
run:
26+
27+
- name: Build and run unit tests
28+
run:
29+
30+
- name: Run formatting check
31+
uses: waterloo-rocketry/actions/clang-format-check@main
32+
with:
33+
clang-format-config-path: "src/third_party/rocketlib/.clang-format"
34+
c-source-files: ""

cubemx_cleanup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
rm -r Drivers
22
rm -r Middlewares
33
rm -r Startup
4-
rm ThreadSafe
4+
rm -r ThreadSafe
55
rm STM32*_FLASH.ld
66
rm STM32*_RAM.ld
77
rm .cproject

0 commit comments

Comments
 (0)