Update cmake.yml

Try installing library dependencies
This commit is contained in:
a dinosaur 2023-01-18 22:57:02 +11:00 committed by GitHub
parent 16ab145044
commit 34749ecfb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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}}