From 8e9c89ae9d0ac16d11685f38323475fd5aae967e Mon Sep 17 00:00:00 2001 From: Max Fierke Date: Mon, 13 May 2024 22:28:54 -0500 Subject: [PATCH] ci: Start a dumy framebuffer for ebiten --- .github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 082b691..1f7e517 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,6 +10,9 @@ jobs: build: runs-on: ubuntu-latest + env: + DISPLAY: ':99.0' + steps: - name: Install ebiten build dependencies run: | @@ -17,6 +20,10 @@ jobs: libxi-dev libxinerama-dev libxrandr-dev \ libxxf86vm-dev libasound2-dev pkg-config + - name: Run Xvfb for ebitin + run: | + Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & + - uses: actions/checkout@v3 with: submodules: true