Skip to content

Add method for creating MacAddr for multicast IPs #314

Add method for creating MacAddr for multicast IPs

Add method for creating MacAddr for multicast IPs #314

Workflow file for this run

on: push
name: Rust Matrix CI
jobs:
test-matrix:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-22.04, ubuntu-24.04, macos-14, macos-15 ]
toolchain:
- stable
- beta
- nightly
- 1.84.0 # MSRV
steps:
- name: Install dependencies
run: sudo apt -y update && sudo apt -y install flex bison
if: ${{ startsWith(matrix.os, 'ubuntu') }}
- name: Install Rust ${{ matrix.toolchain }}
run: |
rustup toolchain install ${{ matrix.toolchain }} --profile minimal
rustup override set ${{ matrix.toolchain }}
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
with:
key: ${{ matrix.toolchain }}-${{ matrix.os }}
- run: cargo check -v
- run: cargo test -v
test-cross:
runs-on: ubuntu-latest
strategy:
matrix:
target:
- aarch64-unknown-linux-gnu
- aarch64-unknown-linux-musl
- armv7-unknown-linux-musleabi
- x86_64-unknown-linux-musl
steps:
- name: Install Rust
run: rustup toolchain install stable --profile minimal
- name: Install cross
run: cargo install cross
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
with:
key: ${{ matrix.target }}
- run: cross build --target=${{ matrix.target }}