Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #3

Merged
merged 2 commits into from
Jan 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
692 changes: 692 additions & 0 deletions .clang-format

Large diffs are not rendered by default.

16 changes: 14 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,23 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Install Dependencies
run: ./deploy/install_dependencies_ubuntu.sh
run: ./deploy/dependencies/install_dependencies_ubuntu.sh
shell: bash
- name: Build
run: ./deploy/build.sh
shell: bash
- name: Install
run: ./deploy/install.sh
shell: bash
shell: bash
run-linters:
name: Run linters
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v2
- name: Install Development Dependencies
run: ./deploy/dependencies/install_development_dependencies.sh
shell: bash
- name: Lint with Linux checkpath
run: ./tests/test_checkpath.sh
shell: bash
4 changes: 4 additions & 0 deletions deploy/dependencies/install_dependencies_ubuntu.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
set -ex
sudo apt-get update
sudo apt-get install -y make gcc linux-headers-$(uname -r) build-essential git lm-sensors wget
6 changes: 6 additions & 0 deletions deploy/dependencies/install_development_dependencies.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash
set -ex
DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )

${DIR}/install_dependencies_ubuntu.sh
${DIR}/linux_kernel/install_checkpath.sh
2 changes: 2 additions & 0 deletions deploy/dependencies/install_dir/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!.gitignore
10 changes: 10 additions & 0 deletions deploy/dependencies/linux_kernel/install_checkpath.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash
set -ex
DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )

cd ${DIR}/../install_dir

wget "https://raw.githubusercontent.com/torvalds/linux/master/scripts/checkpatch.pl"
wget "https://raw.githubusercontent.com/torvalds/linux/master/scripts/spelling.txt"

chmod 755 "checkpatch.pl"
4 changes: 0 additions & 4 deletions deploy/install_dependencies_ubuntu.sh

This file was deleted.

Loading