From d36ba1d0df8b0e9154e0ee5603eecef366852c91 Mon Sep 17 00:00:00 2001 From: Jan Ciger Date: Wed, 13 Dec 2023 21:40:57 +0100 Subject: [PATCH] Add Github Workflows support --- .github/workflows/CI.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/CI.yml diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml new file mode 100644 index 0000000..0fdeacc --- /dev/null +++ b/.github/workflows/CI.yml @@ -0,0 +1,27 @@ +name: CI +on: + push: + branches: + - master + pull_request: + release: + types: + - created + +jobs: + build-linux: + strategy: + matrix: + os: [ubuntu-latest] + runs-on: ${{ matrix.os }} + steps: + - name: Check out repository code + uses: "actions/checkout@v3" + - name: Install dependencies + if: matrix.os == 'ubuntu-latest' || matrix.os == 'debian-latest' + run: | + sudo apt-get update + sudo apt-get -y install libsdl1.2-dev + - name: Build + run: | + make