Skip to content

Commit

Permalink
Merge pull request #1 from niwciu/develop
Browse files Browse the repository at this point in the history
merge develop in to main
  • Loading branch information
niwciu authored Mar 7, 2024
2 parents db7ec44 + 5191dd8 commit bbb6bc3
Show file tree
Hide file tree
Showing 278 changed files with 195,446 additions and 20,151 deletions.
1 change: 1 addition & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
BasedOnStyle: Microsoft
IncludeBlocks: Regroup
ColumnLimit: 0
SortIncludes: false
9 changes: 4 additions & 5 deletions .github/workflows/clang-format_check.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
name: Run clang-format Check
on:
workflow_dispatch:
# push:
# branches: [main, develop]
# pull_request:
# branches: [main, develop]
# on: workflow_dispatch
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
jobs:
formatting-check:
name: Formatting Check
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/run_cppcheck.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Run cppcheck-action
on:
workflow_dispatch:
# push:
# branches: [main, develop]
# pull_request:
# branches: [main, develop]
push:
branches: [main, develop]
pull_request:
branches: [main, develop]

jobs:
cppcheck-annotations_scr:
Expand Down
112 changes: 112 additions & 0 deletions .github/workflows/run_library_unit_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
name: Run PushButton Switch Unit Tests
on:
workflow_dispatch:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
jobs:
pushbutton_switch_test_running:
name: PushButton Test RUN
runs-on: windows-latest
# strategy:
# matrix:
# os: [ubuntu-latest, windows-latest]
steps:
- name: Checkout code
uses: actions/checkout@v4.1.1
with:
submodules: recursive

- name: arm-none-eabi-gcc
uses: ryanwinter/arm-none-eabi-gcc@master
with:
release: '10-2021.10'

- name: Install Ninja
uses: seanmiddleditch/gha-setup-ninja@v3

- name: Build binary
working-directory: test/pushbutton
run: |
mkdir out
cmake -Bout -GNinja
cmake --build out
- name: List files
working-directory: test/pushbutton/out
run: dir

- name: Run pushbutton tests
working-directory: test/pushbutton/out
run: ./pushbutton_test.exe -v

Switch_test_running:
name: Switch Test RUN
runs-on: windows-latest
# strategy:
# matrix:
# os: [ubuntu-latest, windows-latest]
steps:
- name: Checkout code
uses: actions/checkout@v4.0.0
with:
submodules: recursive

- name: arm-none-eabi-gcc
uses: ryanwinter/arm-none-eabi-gcc@master
with:
release: '10-2021.10'

- name: Install Ninja
uses: seanmiddleditch/gha-setup-ninja@v3

- name: Build binary
working-directory: test/switch
run: |
mkdir out
cmake -Bout -GNinja
cmake --build out
- name: List files
working-directory: test/switch/out
run: dir

- name: Run inputs tests
working-directory: test/switch/out
run: ./switch_test.exe -v

# template_2_test_running:
# name: template_2 Test RUN
# runs-on: windows-latest
# # strategy:
# # matrix:
# # os: [ubuntu-latest, windows-latest]
# steps:
# - name: Checkout code
# uses: actions/checkout@v4.0.0
# with:
# submodules: recursive

# - name: arm-none-eabi-gcc
# uses: ryanwinter/arm-none-eabi-gcc@master
# with:
# release: '10-2021.10'

# - name: Install Ninja
# uses: seanmiddleditch/gha-setup-ninja@v3

# - name: Build binary
# working-directory: test/template_2
# run: |
# mkdir out
# cmake -Bout -GNinja
# cmake --build out

# - name: List files
# working-directory: test/template_2/out
# run: dir

# - name: Run inputs tests
# working-directory: test/template_2/out
# run: ./template_2_test.exe -v
8 changes: 4 additions & 4 deletions .github/workflows/run_lizard_lib_check.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Run Lizard Library Check
on:
workflow_dispatch:
# push:
# branches: [main, develop]
# pull_request:
# branches: [main, develop]
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
jobs:
lizard:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ out/
Release/
Debug/
Build/
library_documentation/
.vscode/
# HW test ingnored files
.metadata/
Expand Down
76 changes: 0 additions & 76 deletions .vscode/c_cpp_properties.json

This file was deleted.

24 changes: 0 additions & 24 deletions .vscode/launch.json

This file was deleted.

66 changes: 0 additions & 66 deletions .vscode/settings.json

This file was deleted.

Loading

0 comments on commit bbb6bc3

Please sign in to comment.