Skip to content

Commit

Permalink
Update the hwsapibot generator to handle both the pre-re and re versi…
Browse files Browse the repository at this point in the history
…ons of constants.md

Signed-off-by: Haru <haru@dotalux.com>
  • Loading branch information
MishimaHaruna committed Oct 27, 2022
1 parent deb2b04 commit d070b00
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/hwsapibot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,20 @@ jobs:
- name: constdb2doc
run: |
./configure --enable-debug --disable-lto --disable-renewal
make clean
start_this=$(date +%s.%3N)
make map_sql plugin.constdb2doc -j3
./map-server --load-plugin constdb2doc --constdb2doc
end_this=$(date +%s.%3N)
elapsed_constdb=$(echo "scale=0; ($end_this - $start_this) * 1000 / 1" | bc)
./configure --enable-debug --disable-lto --enable-renewal
make clean
start_this=$(date +%s.%3N)
make map_sql plugin.constdb2doc -j3
./map-server --load-plugin constdb2doc --constdb2doc
end_this=$(date +%s.%3N)
elapsed_constdb=$(echo "scale=0; $elapsed_constdb + ($end_this - $start_this) * 1000 / 1" | bc)
echo "elapsed_constdb=$elapsed_constdb" >> $GITHUB_ENV
git commit -am 'Update constants documentation' --signoff --gpg-sign || echo "Nothing to commit"
Expand Down

0 comments on commit d070b00

Please sign in to comment.