Skip to content
This repository has been archived by the owner on Dec 10, 2023. It is now read-only.

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
skill7899 authored Jan 4, 2023
1 parent 70a19c8 commit f6feb65
Showing 1 changed file with 4 additions and 39 deletions.
43 changes: 4 additions & 39 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,47 +24,9 @@ jobs:
matrix:
include:
# 两行一组,删除不需要的版本
- platform: ds1621p
version: 7.0.1-42218
- platform: ds1621p
version: 7.1.0-42661

- platform: ds2422p
version: 7.0.1-42218

- platform: ds3615xs
version: 6.2.4-25556
- platform: ds3615xs
version: 7.0.1-42218
- platform: ds3615xs
version: 7.1.0-42661

# - platform: ds3617xs
# version: 7.0.1-42218
- platform: ds3617xs
version: 7.1.0-42661

- platform: ds3622xsp
version: 7.0.1-42218
- platform: ds3622xsp
version: 7.1.0-42661

- platform: ds918p
version: 6.2.4-25556
- platform: ds918p
version: 7.0.1-42218
- platform: ds918p
version: 7.1.0-42661

- platform: ds920p
version: 7.0.1-42218
- platform: ds920p
version: 7.1.0-42661

# - platform: dva3221
# version: 7.0.1-42218
- platform: dva3221
version: 7.1.0-42661

steps:
- name: 检出项目文件
Expand Down Expand Up @@ -100,7 +62,7 @@ jobs:
# 调整SN和MAC,最好使用 actions secrets 引入,SN应该是固定值不应该每次生成
sn=`./redpill_tool_chain.sh sn ${{matrix.platform}} | grep 'Serial Number' | awk '{print $3}'`
sed -i -e "s/1234XXX123/${sn:="1130LWN123456"}/g" -e 's/XXYYXXYYXXYY/0011323D47F7/g' ${{matrix.platform}}_user_config.json
sed -i -e "s/1234XXX123/${sn:="1880PDN435101"}/g" -e 's/XXYYXXYYXXYY/00113294A6DA/g' ${{matrix.platform}}_user_config.json
# 添加第二张网卡mac并设置网卡数量
sed -i -e 's/0011323D47F7"/&,\n\t"mac2": "0011323D47F8",\n\t"netif_num": 2/' ${{matrix.platform}}_user_config.json
Expand All @@ -116,6 +78,9 @@ jobs:
./redpill_tool_chain.sh add https://github.com/tossp/redpill-tool-chain/raw/master/extensions/redpill-boot-wait.json
./redpill_tool_chain.sh add https://github.com/tossp/redpill-tool-chain/raw/master/extensions/redpill-acpid.json
./redpill_tool_chain.sh add https://github.com/tossp/redpill-tool-chain/raw/master/extensions/redpill-virtio.json
./redpill_tool_chain.sh add https://github.com/pocopico/rp-ext/raw/main/igbvf/rpext-index.json
./redpill_tool_chain.sh add https://github.com/pocopico/rp-ext/raw/main/ixgbevf/rpext-index.json
./redpill_tool_chain.sh add https://github.com/pocopico/rp-ext/raw/main/bnx2x/rpext-index.json
- name: 添加扩展驱动[dva3221]
if: matrix.platform == 'dva3221'
Expand Down

0 comments on commit f6feb65

Please sign in to comment.