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 c7e82be
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 10 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
9 changes: 5 additions & 4 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
[submodule "lib/libutil"]
path = lib/libutil
url = https://github.com/w180112/libutil.git
[submodule "lib/dpdk"]
path = lib/dpdk
url = https://github.com/DPDK/dpdk
[submodule "lib/dpdk-kmods"]
path = lib/dpdk-kmods
url = https://dpdk.org/git/dpdk-kmods
url = https://dpdk.org/git/dpdk-kmods
[submodule "lib/dpdk"]
path = lib/dpdk
url = https://dpdk.org/git/dpdk-stable
branch = 22.11
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
2 changes: 1 addition & 1 deletion lib/dpdk
Submodule dpdk updated from 543f40 to d75b66

0 comments on commit c7e82be

Please sign in to comment.