From 34749ecfb5d2a5a6b8221e79875dff1a9a600449 Mon Sep 17 00:00:00 2001 From: a dinosaur Date: Wed, 18 Jan 2023 22:57:02 +1100 Subject: [PATCH] Update cmake.yml Try installing library dependencies --- .github/workflows/cmake.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 47b3f49..0bdb42c 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -20,6 +20,9 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Install library dependencies + run: sudo apt-get install -y sdl2-dev + - name: Configure CMake # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type @@ -28,4 +31,3 @@ jobs: - name: Build # Build your program with the given configuration run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -