Skip to content

exitcode

exitcode #59

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"
cache-dependency-path: "tests/requirements.txt"
- 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" -hf -stateonexit -rom build/wav_test_load_and_play.gb
- run: |
cd tests
ls -alF
ls -alF build
shell: bash
# - name: pytest
# shell: bash
# run: |
# cd tests
# pytest -v -s