Skip to content

Commit

Permalink
Merge pull request #156 from quartiq/feature/enc424j600_merged
Browse files Browse the repository at this point in the history
Add support for ENC424J600 with bumped minimq
  • Loading branch information
ryan-summers authored Sep 30, 2021
2 parents 4ef6c80 + 38fa6f4 commit 740df7f
Show file tree
Hide file tree
Showing 8 changed files with 527 additions and 135 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
toolchain:
- stable
- beta
variant: [phy_w5500, phy_enc424j600]
steps:
- uses: actions/checkout@v2

Expand Down Expand Up @@ -77,32 +78,36 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: build
args: --no-default-features --features "${{ matrix.variant }}"

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

- name: Generate Release
uses: actions-rs/cargo@v1
with:
command: objcopy
args: --release --verbose -- -O binary booster-release.bin
args: --release --no-default-features --features "${{ matrix.variant }}" --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 (variant=${{ matrix.variant }})
path: |
target/*/release/booster
booster-release.bin
compile-unstable:
runs-on: ubuntu-latest
strategy:
matrix:
variant: [phy_w5500, phy_enc424j600]
steps:
- uses: actions/checkout@v2
- name: Install Rust Nightly
Expand All @@ -115,9 +120,9 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: build
args: --features unstable
args: --no-default-features --features "unstable ${{ matrix.variant }}"
- name: cargo build+release+unstable
uses: actions-rs/cargo@v1
with:
command: build
args: --release --features unstable
args: --release --no-default-features --features "unstable ${{ matrix.variant }}"
Loading

0 comments on commit 740df7f

Please sign in to comment.