CHANGE: dfpn::Node::expand
returns bool value that indicates whethe…
#264
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run random playout profiling | |
on: | |
push: | |
branches: [ main, develop, tmp ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: install packages | |
run: sudo apt update -y; sudo apt install -y build-essential make cpputest libc++-dev | |
- name: Build | |
run: cmake -DCMAKE_CXX_FLAGS=-pg -DCMAKE_EXE_LINKER_FLAGS=-pg -DCMAKE_SHARED_LINKER_FLAGS=-pg ./cpp; make | |
- name: Execute | |
run: ./tests/test_vshogi -r1 -g shogi_engine -n random_playout_searcher | |
- name: Profile | |
run: gprof ./tests/test_vshogi gmon.out |