Skip to content

catch up to dpdk-sys a bit #36

catch up to dpdk-sys a bit

catch up to dpdk-sys a bit #36

on: [ push, pull_request ]
permissions:
contents: write
packages: read
id-token: write
jobs:
build:
strategy:
matrix:
profile: [ debug, release ]
target: [ x86_64-unknown-linux-gnu, x86_64-unknown-linux-musl ]
just_version: [ "1.36.0" ]
rust_toolchain: [ "stable", "beta", "nightly" ]
name: check README.md
runs-on:
- lab
timeout-minutes: 180
steps:
- name: login to ghcr.io
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: install just
uses: extractions/setup-just@v2
with:
just-version: ${{matrix.just_version}}
- name: install rustup
uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{matrix.rust_toolchain}}
targets: ${{matrix.target}}
- name: Checkout
uses: actions/checkout@v4
- name: refresh-compile-env
run: just --yes refresh-compile-env
- run: just --yes fake-nix
- name: build
run: cargo +${{matrix.rust_toolchain}} build --profile=${{matrix.profile}} --target=${{matrix.target}}
- name: test
run: cargo +${{matrix.rust_toolchain}} test --profile=${{matrix.profile}} --target=${{matrix.target}}
- name: just build
run: just cargo +${{matrix.rust_toolchain}} build --profile=${{matrix.profile}} --target=${{matrix.target}}
- name: just test
run: just cargo +${{matrix.rust_toolchain}} test --profile=${{matrix.profile}} --target=${{matrix.target}}