From 28fc689f05a1e7490ca385d409a00f30449ce3a9 Mon Sep 17 00:00:00 2001 From: Keunhong Lee Date: Mon, 19 Feb 2024 15:01:18 +0900 Subject: [PATCH 1/4] fix readme, try public runner --- .github/workflows/build.yaml | 2 +- README.md | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index c02b928..1d39ba7 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -12,7 +12,7 @@ env: jobs: build: - runs-on: self-hosted + runs-on: linux steps: - uses: actions/checkout@v4 - name: Install dependencies diff --git a/README.md b/README.md index 9e91951..d4374d1 100644 --- a/README.md +++ b/README.md @@ -28,9 +28,9 @@ Refer to official DPDK document to install DPDK (http://doc.dpdk.org/guides/linu Here, we include basic instructions to build DPDK and use this library. Commonly, following packages are required to build DPDK. -```{.sh} -apt-get install -y curl git build-essential libnuma-dev meson # To download and build DPDK -apt-get install -y linux-headers-amd64 # To build kernel drivers +```sh +apt-get install -y curl git build-essential libnuma-dev meson python3-pyelftools # To download and build DPDK +apt-get install -y linux-headers-`unmae -r` # To build kernel drivers apt-get install -y libclang-dev clang llvm-dev # To analyze DPDK headers and create bindings ``` @@ -45,7 +45,7 @@ If your NIC requires kernel drivers, they are found at the above link. Now add `rust-dpdk` to your project's `Cargo.toml` and use it! -```{.toml} +```toml [dependencies] rust-dpdk-sys = { git = "https://github.com/ANLAB-KAIST/rust-dpdk", branch = "main" } ``` From 0f4b4d8e55742cadb8dba618a62a71f931249e45 Mon Sep 17 00:00:00 2001 From: Keunhong Lee Date: Mon, 19 Feb 2024 15:04:36 +0900 Subject: [PATCH 2/4] badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d4374d1..5fef21c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # rust-dpdk -[![Build Status](https://github.com/ANLAB-KAIST/rust-dpdk/actions/workflows/build.yml/badge.svg)](https://github.com/ANLAB-KAIST/rust-dpdk/actions/workflows/build.yml) +[![Build Status](https://github.com/ANLAB-KAIST/rust-dpdk/actions/workflows/build.yaml/badge.svg)](https://github.com/ANLAB-KAIST/rust-dpdk/actions/workflows/build.yaml) Tested with v22.11. From 31cfe196feab4310fff24cd53d98b2c1babc5d7d Mon Sep 17 00:00:00 2001 From: Keunhong Lee Date: Mon, 19 Feb 2024 15:08:32 +0900 Subject: [PATCH 3/4] save --- .github/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 1d39ba7..6360b45 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -12,7 +12,7 @@ env: jobs: build: - runs-on: linux + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Install dependencies From 06552bc3fe9f4d0b9ff0ce188a0ce3ce8ec9bb1d Mon Sep 17 00:00:00 2001 From: Keunhong Lee Date: Mon, 19 Feb 2024 16:32:58 +0900 Subject: [PATCH 4/4] save --- .github/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 6360b45..c02b928 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -12,7 +12,7 @@ env: jobs: build: - runs-on: ubuntu-latest + runs-on: self-hosted steps: - uses: actions/checkout@v4 - name: Install dependencies