Update README #56
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: Bruteforce tests | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| jobs: | |
| bruteforce: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y \ | |
| cmake \ | |
| g++ \ | |
| python3 \ | |
| python3-pip | |
| - name: Configure and build | |
| run: | | |
| cmake -S . -B build | |
| cmake --build build -j"$(nproc)" | |
| - name: Run bruteforce tests (snarls) | |
| run: | | |
| python3 src/bruteforce.py \ | |
| --bruteforce-bin ./build/snarls_bf \ | |
| --bubblefinder-bin ./build/BubbleFinder \ | |
| --n-graphs 10000 \ | |
| --threads 1 4 | |
| - name: Run bruteforce tests (superbubbles) | |
| run: | | |
| python3 src/bruteforce.py \ | |
| --superbubbles \ | |
| --bruteforce-bin ./build/superbubbles_bf \ | |
| --bubblefinder-bin ./build/BubbleFinder \ | |
| --n-graphs 10000 \ | |
| --threads 1 4 | |
| - name: Run bruteforce tests (ultrabubbles) | |
| run: | | |
| python3 src/bruteforce.py \ | |
| --bruteforce-bin ./build/ultrabubbles_bf \ | |
| --bubblefinder-bin ./build/BubbleFinder \ | |
| --n-graphs 10000 \ | |
| --min-tips-per-cc 1 \ | |
| --threads 1 4 |