Skip to content

Commit

Permalink
Merge pull request #3612 from liya2017/develop
Browse files Browse the repository at this point in the history
  • Loading branch information
doitian committed Sep 27, 2022
2 parents 5f7a24b + 90d45ce commit 2aa9c2b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/smoking_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ env:

jobs:
Start_and_sync:
runs-on: self-hosted-smoking-test
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Download&Unzip v0.35.0
Expand Down Expand Up @@ -53,6 +53,8 @@ jobs:
sudo systemctl daemon-reload
sudo systemctl reset-failed
rm ${{ github.workspace }}/ckb
- run: sudo apt-get update && sudo apt-get install libssl-dev pkg-config libclang-dev -y && sudo apt-get install -y gcc-multilib
- run: sudo apt-get install -y wget ca-certificates && wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - && sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" >> /etc/apt/sources.list.d/pgdg.list' && sudo apt-get update && sudo apt-get install -y postgresql postgresql-contrib
- name: Download target ckb release pkg and copy binary to github workspace
if: |
(github.event_name == 'workflow_dispatch' && github.event.inputs.CKB_linux_release_package != '')
Expand Down Expand Up @@ -126,3 +128,4 @@ jobs:
fi
env:
CKB_DIR: ${{ github.workspace }}

2 changes: 1 addition & 1 deletion devtools/smoking_test/tip_block_growth_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function get_tip_block_number() {
}
sleep 60 #waiting for ckb start
FIRST_TIP_BLOCK_NUMBER=$(get_tip_block_number)
echo "Fsirt tip block number is "$FIRST_TIP_BLOCK_NUMBER
echo "First tip block number is "$FIRST_TIP_BLOCK_NUMBER
sleep 600
SECOND_TIP_BLOCK_NUMBER=$(get_tip_block_number)
echo "Second tip block number is "$SECOND_TIP_BLOCK_NUMBER
Expand Down

0 comments on commit 2aa9c2b

Please sign in to comment.