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 3b27dc2
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: Setup Node.js 16
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Checkout Code
uses: actions/checkout@v3
- 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: Setup Node.js 16
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Checkout Code
uses: actions/checkout@v3
- 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: Setup Node.js 16
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Checkout Code
uses: actions/checkout@v3
- 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 3b27dc2

Please sign in to comment.