Update cmake.yml

Try installing library dependencies
This commit is contained in:
a dinosaur authored and GitHub committed 2023-01-18 22:57:02 +11:00
1 parent 16ab145044
commit 34749ecfb5
1 file changed
+3 -1
+3 -1
View File
@@ -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}}