From 216c4696f2f351eccf66368985eb1fb4f1e9763c Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Tue, 24 Sep 2024 23:23:30 +0100 Subject: [PATCH] try static sdl build --- .github/workflows/build.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index eca8bfe..ba74b33 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,9 +4,7 @@ name: Build on: # Triggers the workflow on push or pull request events but only for the master branch push: - branches: [ master ] pull_request: - branches: [ master ] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -240,8 +238,8 @@ jobs: tar xvfz release-2.30.7.tar.gz mkdir build cd build - cmake ../SDL-release-2.30.7 - cmake --build . + cmake ../SDL-release-2.30.7 -DSDL_SHARED=OFF -DSDL_STATIC=ON -DCMAKE_BUILD_TYPE=Release + cmake --build . --config Release sudo cmake --install . # Runs a set of commands using the runners shell