From 821b8dc6a70aefb0b9e15ca61730b5342e451b10 Mon Sep 17 00:00:00 2001 From: Wouter Wijsman Date: Thu, 28 Nov 2024 15:42:35 +0100 Subject: [PATCH] Build tinygettext for bundling in Linux --- .github/workflows/build.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4254f5e..15bd578 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,6 +13,15 @@ jobs: sudo apt-get install -y wget cmake libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev libjsoncpp-dev libfuse2 - name: Checkout uses: actions/checkout@v4 + with: + submodules: recursive + - name: Build tinygettext + run: | + cd vendor/tinygettext + cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=OFF -DTINYGETTEXT_WITH_SDL=ON + cd build + make + sudo make install - name: Build run: | mkdir oceanpop && cd oceanpop