diff --git a/.github/workflows/unit_test.yml b/.github/workflows/unit_test.yml index d0e2df3..4c0cb0f 100644 --- a/.github/workflows/unit_test.yml +++ b/.github/workflows/unit_test.yml @@ -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