Skip to content

Commit

Permalink
ci: fix unsupported Node20 problem
Browse files Browse the repository at this point in the history
This is a temporary fix, and hopefully can work until Spring 2025.
https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/

Signed-off-by: ywc689 <[email protected]>
  • Loading branch information
ywc689 committed Jul 10, 2024
1 parent e3562e6 commit d639e8a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,22 @@ jobs:
runs-on: self-hosted
env:
PKG_CONFIG_PATH: /data/dpdk/dpdklib/lib64/pkgconfig
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
steps:
- uses: actions/checkout@v2
- name: make
- 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
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
steps:
- uses: actions/checkout@v2
- name: config
- name: Checkout Code
uses: actions/checkout@v3
- name: Config
run: sed -i 's/=n$/=y/' config.mk
- name: make
- name: build
run: make -j
10 changes: 6 additions & 4 deletions .github/workflows/run.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,13 @@ jobs:
runs-on: self-hosted
env:
PKG_CONFIG_PATH: /data/dpdk/dpdklib/lib64/pkgconfig
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
steps:
- uses: actions/checkout@v2
- name: make
- 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 d639e8a

Please sign in to comment.