Debug WIP

This commit is contained in:
Allan Jeremy 2022-05-24 08:22:12 +03:00
parent 5cee93d78b
commit 19ac40d92d

View file

@ -17,10 +17,7 @@ jobs:
matrix: matrix:
os: [ubuntu-latest] os: [ubuntu-latest]
engine: engine:
- { channel: stable, version: latest, runner: "robloxdev-cli" } - { channel: stable, version: latest }
# - { channel: develop, version: latest, runner: 'robloxdev-cli' }
# covers environment closest to RobloxStudio, but not available on Linux
# - { channel: develop, version: latest, runner: 'roblox-cli'}
bench: bench:
- { - {
script: "run-benchmarks", script: "run-benchmarks",
@ -48,12 +45,13 @@ jobs:
- name: Run benchmark - name: Run benchmark
run: | run: |
python bench/bench.py | tee ../${{ matrix.bench.script }}-output.txt python bench/bench.py | tee ../${{ matrix.bench.script }}-output.txt
ls
- name: Run ${{ matrix.bench.title }} (Cold Cachegrind) - name: Run ${{ matrix.bench.title }} (Cold Cachegrind)
run: sudo ./scripts/run-with-cachegrind.sh ./${{ matrix.engine.runner }} python bench/bench.py "${{ matrix.bench.cachegrindTitle}}Cold" 1 | tee -a ${{ matrix.bench.script }}-output.txt run: sudo ./scripts/run-with-cachegrind.sh python bench/bench.py "${{ matrix.bench.cachegrindTitle}}Cold" 1 | tee -a ${{ matrix.bench.script }}-output.txt
- name: Run ${{ matrix.bench.title }} (Warm Cachegrind) - name: Run ${{ matrix.bench.title }} (Warm Cachegrind)
run: sudo ./scripts/run-with-cachegrind.sh ./${{ matrix.engine.runner }} python bench/bench.py "${{ matrix.bench.cachegrindTitle }}" ${{ matrix.bench.cachegrindIterCount }} | tee -a ${{ matrix.bench.script }}-output.txt run: sudo ./scripts/run-with-cachegrind.sh python bench/bench.py "${{ matrix.bench.cachegrindTitle }}" ${{ matrix.bench.cachegrindIterCount }} | tee -a ${{ matrix.bench.script }}-output.txt
- name: Navigate to root dir, create gh-pages dir then navigate into it - name: Navigate to root dir, create gh-pages dir then navigate into it
run: cd .. && mkdir gh-pages && cd gh-pages run: cd .. && mkdir gh-pages && cd gh-pages