-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a large number of convenience functions to Control and cleanup ru…
…nner patterns
- Loading branch information
1 parent
1e6cfbc
commit f9caa1a
Showing
26 changed files
with
784 additions
and
583 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,4 +1,4 @@ | ||
name: Lint | ||
name: CI | ||
|
||
on: | ||
push: | ||
|
@@ -10,9 +10,6 @@ defaults: | |
run: | ||
shell: bash | ||
|
||
env: | ||
CLIPPY_PARAMS: -W clippy::all -W clippy::pedantic -W clippy::nursery -W clippy::cargo | ||
|
||
jobs: | ||
rustfmt: | ||
name: rustfmt | ||
|
@@ -35,33 +32,6 @@ jobs: | |
command: fmt | ||
args: --all -- --check --verbose | ||
|
||
# tomlfmt: | ||
# name: tomlfmt | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - name: Checkout source code | ||
# uses: actions/checkout@v2 | ||
|
||
# - name: Install Rust | ||
# uses: actions-rs/toolchain@v1 | ||
# with: | ||
# profile: minimal | ||
# toolchain: nightly | ||
# override: true | ||
|
||
# - name: Install tomlfmt | ||
# uses: actions-rs/[email protected] | ||
# with: | ||
# crate: cargo-tomlfmt | ||
# version: latest | ||
# use-tool-cache: true | ||
|
||
# - name: Run Tomlfmt | ||
# uses: actions-rs/cargo@v1 | ||
# with: | ||
# command: tomlfmt | ||
# args: --dryrun | ||
|
||
clippy: | ||
name: clippy | ||
runs-on: ubuntu-latest | ||
|
@@ -81,4 +51,31 @@ jobs: | |
uses: actions-rs/clippy-check@v1 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
args: -- ${{ env.CLIPPY_PARAMS }} | ||
args: --features odin-w2xx,ppp | ||
|
||
test: | ||
name: Test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout source code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install Rust | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: stable | ||
target: thumbv7m-none-eabi | ||
override: true | ||
|
||
- name: Build | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: build | ||
args: --all --target thumbv7m-none-eabi --features odin-w2xx,ppp | ||
|
||
- name: Test | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: test | ||
args: --lib --features odin-w2xx,ppp |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
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
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
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
Oops, something went wrong.