Skip to content

Commit

Permalink
unit_test: add apt-get dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
FolkertVanVerseveld committed Feb 5, 2024
1 parent 0eb9e67 commit cf27dc5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/unit_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install dependencies
run: sudo apt-get install libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev
- name: Install gtest manually
run: sudo apt-get install libgtest-dev && cd /usr/src/gtest && sudo cmake CMakeLists.txt && sudo make && sudo cp lib/*.a /usr/lib && sudo ln -s /usr/lib/libgtest.a /usr/local/lib/libgtest.a && sudo ln -s /usr/lib/libgtest_main.a /usr/local/lib/libgtest_main.a
- uses: actions/checkout@v1
Expand Down

0 comments on commit cf27dc5

Please sign in to comment.