Skip to content

dirs

dirs #57

Workflow file for this run

name: Pytest
on: [push]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: "pip"
- name: wget gbdk
uses: robinraju/release-downloader@v1
with:
repository: "gbdk-2020/gbdk-2020"
tag: "4.3.0"
fileName: "gbdk-win64.zip"
extract: true
- name: Add msys64 to path
run: |
echo C:\msys64\usr\bin >> $env:GITHUB_PATH
- name: pip install
shell: bash
run: |
cd tests
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: make roms
shell: bash
run: |
cd tests
make
ls build
- name: test single rom (python)
run: |
cd tests
python test.py
ls
cd build
ls
- name: test single rom (bash)
# shell: bash
run: |
cd tests
../bgb/bgb64.exe -set "DebugSrcBrk=1" -autoexit -hf -stateonexit build/wav_test_load_and_play.gb
dir
cd build
dir
- name: pytest
shell: bash
run: |
cd tests
pytest -v -s