Skip to content

Move scene_type enum to per game data folder to allow dynamic generation #13

Move scene_type enum to per game data folder to allow dynamic generation

Move scene_type enum to per game data folder to allow dynamic generation #13

Workflow file for this run

name: CI/CD Pipeline
on:
push:
branches:
- develop
- main
- feat-*
- beta-*
- wip-*
- toxa
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: APT cache
uses: actions/cache@v3
with:
path: /var/cache/apt/archives
key: ${{ runner.os }}-apt-cache
restore-keys: |
${{ runner.os }}-apt-cache
- name: Install wine
run: |
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install -y wine32
- name: Show working directory
run: pwd
- name: Fetch dependencies
run: |
curl -L https://github.com/gb-studio-dev/gbvm-test-deps/archive/refs/tags/v0.0.2.zip > deps.zip
unzip deps.zip -d deps
cd deps/gbvm-test-deps*/files
sudo mkdir /gbdk
sudo tar -xvzf gbdk-linux64.tar.gz -C /gbdk --strip-components=1
sudo unzip bgb.zip -d /bgb
sudo unzip gbspack*.zip -d /gbspack
- name: Install / Run X Virtual Frame Buffer
run: |
sudo apt-get install xvfb
Xvfb :0 -screen 0 1024x768x16 &
- name: Install python dependencies
run: |
pip install pillow
- name: Run Tests
run: |
make GBDK="/gbdk" GBSPACK="/gbspack/gbspack" EMU="DISPLAY=:0.0 wine /bgb/bgb.exe" test