Skip to content

Commit

Permalink
ci: update Node.js version
Browse files Browse the repository at this point in the history
Signed-off-by: ywc689 <[email protected]>
  • Loading branch information
ywc689 committed Jul 10, 2024
1 parent e3562e6 commit 02413c6
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 9 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,27 @@ jobs:
env:
PKG_CONFIG_PATH: /data/dpdk/dpdklib/lib64/pkgconfig
steps:
- uses: actions/checkout@v2
- name: make
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '16'
- name: Checkout Code
uses: actions/checkout@v2
- name: build
run: make -j

build-all:
runs-on: self-hosted
env:
PKG_CONFIG_PATH: /data/dpdk/dpdklib/lib64/pkgconfig
steps:
- uses: actions/checkout@v2
- name: config
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '16'
- name: Checkout Code
uses: actions/checkout@v2
- name: Config
run: sed -i 's/=n$/=y/' config.mk
- name: make
- name: build
run: make -j
13 changes: 9 additions & 4 deletions .github/workflows/run.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,15 @@ jobs:
env:
PKG_CONFIG_PATH: /data/dpdk/dpdklib/lib64/pkgconfig
steps:
- uses: actions/checkout@v2
- name: make
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '16'
- name: Checkout Code
uses: actions/checkout@v2
- name: Build
run: make -j
- name: install
- name: Install
run: make install
- name: run-dpvs
- name: Run DPVS
run: sudo dpvsci $(pwd)/bin/dpvs

0 comments on commit 02413c6

Please sign in to comment.