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

[outdated] Add support for ENC424J600 with bumped minimq #154

Merged
merged 17 commits into from
Sep 27, 2021
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
25 changes: 20 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ jobs:
toolchain:
- stable
- beta
variant: [w5500, enc424j600]
include:
- variant: w5500
cargo-args: ''
- variant: enc424j600
cargo-args: --no-default-features --features phy_enc424j600
steps:
- uses: actions/checkout@v2

Expand Down Expand Up @@ -77,32 +83,41 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: build
args: ${{ matrix.cargo-args }}

- name: Build [Release]
uses: actions-rs/cargo@v1
with:
command: build
args: --release
args: --release ${{ matrix.cargo-args }}

- name: Generate Release
uses: actions-rs/cargo@v1
with:
command: objcopy
args: --release --verbose -- -O binary booster-release.bin
args: --release ${{ matrix.cargo-args }} --verbose -- -O binary booster-release.bin

- name: Upload Release
uses: actions/upload-artifact@v2
if: ${{ matrix.toolchain == 'stable' }} &&
(${{ github.ref == 'refs/heads/master' }} ||
${{ github.ref == 'refs/heads/develop' }})
with:
name: Firmware Images
name: Firmware Images (${{ matrix.variant }})
path: |
target/*/release/booster
booster-release.bin

compile-unstable:
runs-on: ubuntu-latest
strategy:
matrix:
variant: [w5500, enc424j600]
include:
- variant: w5500
cargo-args: ''
- variant: enc424j600
cargo-args: --no-default-features --features phy_enc424j600
steps:
- uses: actions/checkout@v2
- name: Install Rust Nightly
Expand All @@ -115,9 +130,9 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: build
args: --features unstable
args: --features unstable ${{ matrix.cargo-args }}
- name: cargo build+release+unstable
uses: actions-rs/cargo@v1
with:
command: build
args: --release --features unstable
args: --release --features unstable ${{ matrix.cargo-args }}
Loading