Skip to content

Commit

Permalink
[Build] replace travis ci with github action
Browse files Browse the repository at this point in the history
  • Loading branch information
w180112 committed Jun 25, 2023
1 parent 7b59b22 commit b6ae1c4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: sudo apt-get update && apt-get install -y libnuma-dev linux-headers-$(uname -r) python3-pip
- uses: actions/checkout@v2
- run: sudo apt-get update && sudo apt-get install -y libnuma-dev linux-headers-$(uname -r) python3-pip
- run: sudo pip3 install setuptools meson ninja pyelftools
- run: ./boot.sh
- run: ${{ github.workspace }}/boot.sh
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: sudo apt-get update && apt-get install -y libnuma-dev linux-headers-$(uname -r) python3-pip
- uses: actions/checkout@v2
- run: sudo apt-get update && sudo apt-get install -y libnuma-dev linux-headers-$(uname -r) python3-pip
- run: sudo pip3 install setuptools meson ninja pyelftools
3 changes: 2 additions & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
url = https://github.com/w180112/libutil.git
[submodule "lib/dpdk"]
path = lib/dpdk
url = https://github.com/DPDK/dpdk
url = https://dpdk.org/git/dpdk-stable
branch = 22.11
[submodule "lib/dpdk-kmods"]
path = lib/dpdk-kmods
url = https://dpdk.org/git/dpdk-kmods
3 changes: 3 additions & 0 deletions boot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ get_script_dir () {
echo "$DIR"
}
path=$(get_script_dir)
pushd $path
git submodule update --init --recursive
popd
pushd $path/lib/dpdk && meson $path/lib/dpdk_build
popd
pushd $path/lib/dpdk_build
Expand Down

0 comments on commit b6ae1c4

Please sign in to comment.