-
-
Notifications
You must be signed in to change notification settings - Fork 816
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix ci/cd error * update copyright year * Modify remaining years * solve ci report settings.json code style * update .prettierrc.json * prettierrc fix code style * fix rb file i.to_s and code style * fix error Line is too long. [101/100] * Modify the Ruby file format and restore other file formats * update makefile and readme file space
- Loading branch information
Showing
958 changed files
with
1,504 additions
and
1,472 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
|
||
# SPDX-License-Identifier: MIT OR Apache-2.0 | ||
# | ||
# Copyright (c) 2018-2022 Andre Richter <[email protected]> | ||
# Copyright (c) 2018-2023 Andre Richter <[email protected]> | ||
|
||
require_relative '../utils/devtool/copyright' | ||
|
||
|
@@ -23,9 +23,9 @@ def copyright_check(staged_files) | |
copyright_check_files(staged_files) | ||
end | ||
|
||
##-------------------------------------------------------------------------------------------------- | ||
## ------------------------------------------------------------------------------------------------- | ||
## Execution starts here | ||
##-------------------------------------------------------------------------------------------------- | ||
## ------------------------------------------------------------------------------------------------- | ||
staged_files = `git --no-pager diff --name-only --cached --diff-filter=d`.split(/\n/) | ||
root_dir = `git rev-parse --show-toplevel`.strip | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,40 @@ | ||
name: BSP-RPi3 | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
paths-ignore: | ||
- "utils/**" | ||
- "doc/**" | ||
- "docker/**" | ||
pull_request: | ||
branches: | ||
- master | ||
paths-ignore: | ||
- "utils/**" | ||
- "doc/**" | ||
- "docker/**" | ||
schedule: | ||
- cron: "0 5 * * *" | ||
push: | ||
branches: | ||
- master | ||
paths-ignore: | ||
- "utils/**" | ||
- "doc/**" | ||
- "docker/**" | ||
pull_request: | ||
branches: | ||
- master | ||
paths-ignore: | ||
- "utils/**" | ||
- "doc/**" | ||
- "docker/**" | ||
schedule: | ||
- cron: "0 5 * * *" | ||
|
||
jobs: | ||
build: | ||
name: Build kernels | ||
runs-on: ubuntu-22.04 | ||
build: | ||
name: Build kernels | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
- name: Set up Rust nightly | ||
run: | | ||
cargo install cargo-binutils rustfilt | ||
- name: Set up Ruby | ||
run: | | ||
gem install bundler | ||
bundle config set without 'uart' | ||
bundle install --retry 3 | ||
- name: Run | ||
run: | | ||
BSP=rpi3 bundle exec ruby utils/devtool.rb make | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
- name: Set up Rust nightly | ||
run: | | ||
cargo install cargo-binutils rustfilt | ||
- name: Set up Ruby | ||
run: | | ||
gem install bundler | ||
bundle config set without 'uart' | ||
bundle install --retry 3 | ||
- name: Run | ||
run: | | ||
BSP=rpi3 bundle exec ruby utils/devtool.rb make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,40 @@ | ||
name: BSP-RPi4 | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
paths-ignore: | ||
- "utils/**" | ||
- "doc/**" | ||
- "docker/**" | ||
pull_request: | ||
branches: | ||
- master | ||
paths-ignore: | ||
- "utils/**" | ||
- "doc/**" | ||
- "docker/**" | ||
schedule: | ||
- cron: "0 5 * * *" | ||
push: | ||
branches: | ||
- master | ||
paths-ignore: | ||
- "utils/**" | ||
- "doc/**" | ||
- "docker/**" | ||
pull_request: | ||
branches: | ||
- master | ||
paths-ignore: | ||
- "utils/**" | ||
- "doc/**" | ||
- "docker/**" | ||
schedule: | ||
- cron: "0 5 * * *" | ||
|
||
jobs: | ||
build: | ||
name: Build kernels | ||
runs-on: ubuntu-22.04 | ||
build: | ||
name: Build kernels | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
- name: Set up Rust nightly | ||
run: | | ||
cargo install cargo-binutils rustfilt | ||
- name: Set up Ruby | ||
run: | | ||
gem install bundler | ||
bundle config set without 'uart' | ||
bundle install --retry 3 | ||
- name: Run | ||
run: | | ||
BSP=rpi4 bundle exec ruby utils/devtool.rb make | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
- name: Set up Rust nightly | ||
run: | | ||
cargo install cargo-binutils rustfilt | ||
- name: Set up Ruby | ||
run: | | ||
gem install bundler | ||
bundle config set without 'uart' | ||
bundle install --retry 3 | ||
- name: Run | ||
run: | | ||
BSP=rpi4 bundle exec ruby utils/devtool.rb make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,46 @@ | ||
name: Various Sanity Checks | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
build: | ||
name: Various Sanity Checks | ||
runs-on: ubuntu-22.04 | ||
build: | ||
name: Various Sanity Checks | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: "16" | ||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
- name: Set up Rust nightly | ||
run: | | ||
rustup component add clippy | ||
- name: Set up Bundler | ||
run: | | ||
gem install bundler | ||
bundle config set without 'uart' | ||
bundle install --retry 3 | ||
- name: Set up Prettier | ||
run: | | ||
npm install prettier | ||
- name: Setup misspell | ||
run: | | ||
curl -L -o ./install-misspell.sh https://raw.githubusercontent.com/client9/misspell/master/install-misspell.sh | ||
sh ./install-misspell.sh -b .vendor | ||
- name: Run checks | ||
run: | | ||
BSP=rpi3 bundle exec ruby utils/devtool.rb clippy | ||
BSP=rpi4 bundle exec ruby utils/devtool.rb clippy | ||
bundle exec ruby utils/devtool.rb copyright | ||
bundle exec ruby utils/devtool.rb fmt_check | ||
bundle exec ruby utils/devtool.rb misspell | ||
bundle exec ruby utils/devtool.rb rubocop | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: "16" | ||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
- name: Set up Rust nightly | ||
run: | | ||
rustup component add clippy | ||
- name: Set up Bundler | ||
run: | | ||
gem install bundler | ||
bundle config set without 'uart' | ||
bundle install --retry 3 | ||
- name: Set up Prettier | ||
run: | | ||
npm install prettier | ||
- name: Setup misspell | ||
run: | | ||
curl -L -o ./install-misspell.sh https://raw.githubusercontent.com/client9/misspell/master/install-misspell.sh | ||
sh ./install-misspell.sh -b .vendor | ||
- name: Run checks | ||
run: | | ||
BSP=rpi3 bundle exec ruby utils/devtool.rb clippy | ||
BSP=rpi4 bundle exec ruby utils/devtool.rb clippy | ||
bundle exec ruby utils/devtool.rb copyright | ||
bundle exec ruby utils/devtool.rb fmt_check | ||
bundle exec ruby utils/devtool.rb misspell | ||
bundle exec ruby utils/devtool.rb rubocop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,40 @@ | ||
name: Integration-Tests | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
paths-ignore: | ||
- "utils/**" | ||
- "doc/**" | ||
- "docker/**" | ||
pull_request: | ||
branches: | ||
- master | ||
paths-ignore: | ||
- "utils/**" | ||
- "doc/**" | ||
- "docker/**" | ||
schedule: | ||
- cron: "0 5 * * *" | ||
push: | ||
branches: | ||
- master | ||
paths-ignore: | ||
- "utils/**" | ||
- "doc/**" | ||
- "docker/**" | ||
pull_request: | ||
branches: | ||
- master | ||
paths-ignore: | ||
- "utils/**" | ||
- "doc/**" | ||
- "docker/**" | ||
schedule: | ||
- cron: "0 5 * * *" | ||
|
||
jobs: | ||
build: | ||
name: Run integration tests | ||
runs-on: ubuntu-22.04 | ||
build: | ||
name: Run integration tests | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
- name: Set up Rust nightly | ||
run: | | ||
cargo install cargo-binutils rustfilt | ||
- name: Set up Ruby | ||
run: | | ||
gem install bundler | ||
bundle config set without 'uart' | ||
bundle install --retry 3 | ||
- name: Run | ||
run: | | ||
bundle exec ruby utils/devtool.rb test_integration | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
- name: Set up Rust nightly | ||
run: | | ||
cargo install cargo-binutils rustfilt | ||
- name: Set up Ruby | ||
run: | | ||
gem install bundler | ||
bundle config set without 'uart' | ||
bundle install --retry 3 | ||
- name: Run | ||
run: | | ||
bundle exec ruby utils/devtool.rb test_integration |
Oops, something went wrong.