mirror of
https://github.com/NeoCloud/NeoNetwork
synced 2024-11-23 00:40:41 +08:00
Regular update: 2020-07-21T02:35:53Z
This commit is contained in:
parent
af02d7ece0
commit
cd7be216d8
3 changed files with 6 additions and 11 deletions
2
.github/workflows/roa.yml
vendored
2
.github/workflows/roa.yml
vendored
|
@ -26,6 +26,8 @@ jobs:
|
||||||
python-version: "3.x"
|
python-version: "3.x"
|
||||||
architecture: "x64"
|
architecture: "x64"
|
||||||
|
|
||||||
|
- run: pip install -r .scripts/requirements.txt
|
||||||
|
|
||||||
- run: .scripts/generate-roa.sh
|
- run: .scripts/generate-roa.sh
|
||||||
|
|
||||||
- run: .scripts/push-to-roa.sh
|
- run: .scripts/push-to-roa.sh
|
||||||
|
|
2
.github/workflows/test-your-pr.yml
vendored
2
.github/workflows/test-your-pr.yml
vendored
|
@ -19,6 +19,8 @@ jobs:
|
||||||
python-version: "3.x"
|
python-version: "3.x"
|
||||||
architecture: "x64"
|
architecture: "x64"
|
||||||
|
|
||||||
|
- run: pip install -r .scripts/requirements.txt
|
||||||
|
|
||||||
- run: .scripts/generate-roa.sh
|
- run: .scripts/generate-roa.sh
|
||||||
|
|
||||||
- run: cat generated/README.txt
|
- run: cat generated/README.txt
|
||||||
|
|
|
@ -3,20 +3,11 @@
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
IFS=$'\n\t'
|
IFS=$'\n\t'
|
||||||
|
|
||||||
|
set -x
|
||||||
|
|
||||||
export MAX_LEN_4=29
|
export MAX_LEN_4=29
|
||||||
export MAX_LEN_6=64
|
export MAX_LEN_6=64
|
||||||
|
|
||||||
if [ ! -d .venv ]; then
|
|
||||||
python3 -m venv .venv
|
|
||||||
fi
|
|
||||||
|
|
||||||
source .venv/bin/activate
|
|
||||||
pip install -r .scripts/requirements.txt
|
|
||||||
|
|
||||||
mkdir -p "generated"
|
|
||||||
|
|
||||||
set -x
|
|
||||||
|
|
||||||
.scripts/roa.py -m "$MAX_LEN_4" -M "$MAX_LEN_6" -o generated/roa46_bird2.conf
|
.scripts/roa.py -m "$MAX_LEN_4" -M "$MAX_LEN_6" -o generated/roa46_bird2.conf
|
||||||
.scripts/roa.py -m "$MAX_LEN_4" -M "$MAX_LEN_6" -4 -o generated/roa4_bird2.conf
|
.scripts/roa.py -m "$MAX_LEN_4" -M "$MAX_LEN_6" -4 -o generated/roa4_bird2.conf
|
||||||
.scripts/roa.py -m "$MAX_LEN_4" -M "$MAX_LEN_6" -6 -o generated/roa6_bird2.conf
|
.scripts/roa.py -m "$MAX_LEN_4" -M "$MAX_LEN_6" -6 -o generated/roa6_bird2.conf
|
||||||
|
|
Loading…
Reference in a new issue