From ef94e5d5d47c3a4968651b38dd72f13e21cc592e Mon Sep 17 00:00:00 2001 From: Rafael Caricio Date: Fri, 19 Jun 2020 15:09:58 +0200 Subject: [PATCH] Install SDL2 --- .github/workflows/rust.yml | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index d4abb58..e56b832 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -16,10 +16,15 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - with: - submodules: true - - name: Build - run: cargo build --verbose - - name: Run tests - run: cargo test --verbose + - name: Install SDL2 + run: sudo apt install libsdl2-dev libsdl2-2.0-0 + + - uses: actions/checkout@v2 + with: + submodules: true + + - name: Build + run: cargo build --verbose + + - name: Run tests + run: cargo test --verbose