Skip to content

Commit

Permalink
adding display server
Browse files Browse the repository at this point in the history
  • Loading branch information
Cx3n1 authored Jul 28, 2024
1 parent 7994b0d commit e4e1e71
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/Build_Exe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ jobs:
- name: 📦 Restore Dependencies
run: dotnet restore

- name: Setup display server
run: |
sudo apt-get update
sudo apt-get install -y xvfb
Xvfb :99 -screen 0 1024x768x24 &
export DISPLAY=:99
- name: 🤖 Setup Godot
uses: chickensoft-games/setup-godot@v1
with:
Expand All @@ -52,11 +59,11 @@ jobs:
echo $version > ${{ github.workspace }}/Release/version.txt
- name: 🧑‍🔬 Generate .NET Bindings
run: godot --headless --build-solutions --quit || exit 0
run: godot --build-solutions --quit || exit 0

- name: Build Windows EXE
run: |
godot --rendering-driver opengl3 --export-release "win64"
godot --export-release "win64"
if [ $? -ne 0 ]; then
echo "Build failed with exit code $?"
exit 1
Expand Down

0 comments on commit e4e1e71

Please sign in to comment.