123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- on:
- push:
- branches: [ staging, trying, master ]
- pull_request:
- name: Test
- jobs:
- test:
- runs-on: ubuntu-20.04
- continue-on-error: ${{ matrix.rust == 'nightly' }}
- strategy:
- matrix:
-
-
- rust:
- - stable
- - 1.53.0
- - nightly
- features:
-
- - default
-
- - std proto-ipv4
-
- - std medium-ethernet phy-raw_socket proto-ipv6 socket-udp
- - std medium-ethernet phy-tuntap_interface proto-ipv6 socket-udp
- - std medium-ethernet proto-ipv4 proto-igmp socket-raw
- - std medium-ethernet proto-ipv4 socket-udp socket-tcp
- - std medium-ethernet proto-ipv4 proto-dhcpv4 socket-udp
- - std medium-ethernet proto-ipv6 socket-udp
- - std medium-ethernet proto-ipv6 socket-tcp
- - std medium-ethernet proto-ipv4 socket-icmp socket-tcp
- - std medium-ethernet proto-ipv6 socket-icmp socket-tcp
-
- - std medium-ethernet proto-ipv4 proto-ipv6 socket-raw socket-udp socket-tcp socket-icmp async
- include:
-
- - rust: nightly
- features: alloc medium-ethernet proto-ipv4 proto-ipv6 socket-raw socket-udp socket-tcp socket-icmp
- steps:
- - uses: actions/checkout@v2
- - uses: actions-rs/toolchain@v1
- with:
- profile: minimal
- toolchain: ${{ matrix.rust }}
- override: true
- - name: Run Tests
- run: cargo test --no-default-features --features "${{ matrix.features }}"
- check:
- runs-on: ubuntu-20.04
- continue-on-error: ${{ matrix.rust == 'nightly' }}
- strategy:
- matrix:
-
-
- rust:
- - stable
- - 1.53.0
- - nightly
- features:
-
- - medium-ip medium-ethernet proto-ipv6 proto-ipv6 proto-igmp proto-dhcpv4 socket-raw socket-udp socket-tcp socket-icmp async
- - defmt defmt-trace medium-ip medium-ethernet proto-ipv6 proto-ipv6 proto-igmp proto-dhcpv4 socket-raw socket-udp socket-tcp socket-icmp async
- steps:
- - uses: actions/checkout@v2
- - uses: actions-rs/toolchain@v1
- with:
- profile: minimal
- toolchain: ${{ matrix.rust }}
- override: true
- - name: Check
- run: cargo check --no-default-features --features "${{ matrix.features }}"
|