Skip to content

Commit

Permalink
try xvfb
Browse files Browse the repository at this point in the history
  • Loading branch information
tstirrat committed Jul 25, 2024
1 parent 16b1e47 commit 002bf2a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
27 changes: 14 additions & 13 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,21 @@ jobs:
fileName: "gbdk-linux64.tar.gz"
extract: true
tarBall: true
# - name: Install wine
# run: |
# sudo dpkg --add-architecture i386
# sudo mkdir -pm755 /etc/apt/keyrings
# sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
# sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources
# sudo apt update
# sudo apt install --install-recommends winehq-stable
# # sudo apt install -y winetricks
# # sudo apt install -y winbind
- name: Install docker-wine
- uses: pyvista/setup-headless-display-action@v2
- name: Install wine
run: |
wget https://raw.githubusercontent.com/scottyhardy/docker-wine/master/docker-wine
chmod +x docker-wine
sudo dpkg --add-architecture i386
sudo mkdir -pm755 /etc/apt/keyrings
sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources
sudo apt update
sudo apt install --install-recommends winehq-stable
# sudo apt install -y winetricks
# sudo apt install -y winbind
# - name: Install docker-wine
# run: |
# wget https://raw.githubusercontent.com/scottyhardy/docker-wine/master/docker-wine
# chmod +x docker-wine
- uses: schmiddim/action-wget-unzip@v2
with:
url: "https://bgb.bircd.org/bgbw64.zip"
Expand Down
2 changes: 1 addition & 1 deletion tests/bgb_get_snapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def make_and_run(rom_relative):
screenshot_path = rom_path_full.with_suffix('.bmp')

subprocess.run([
"../docker-wine",
"/usr/bin/env",
"wine",
"../bgb/bgb64.exe",
"-set \"DebugSrcBrk=1\"",
Expand Down

0 comments on commit 002bf2a

Please sign in to comment.