From 05f30e2c55bcdf0f0a6bffe41c971fbfdc431bd9 Mon Sep 17 00:00:00 2001 From: Ian Gilham Date: Fri, 6 Mar 2020 10:45:16 +0000 Subject: [PATCH] build: add basic ci workflow Add a GitHub Action workflow for basic continuous integration on Linux --- .github/workflows/main.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..dc94716 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,25 @@ +name: Continuous Integration + +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: install + run: sudo apt-get install -y libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev libpango1.0-dev + - name: autoconf + run: autoreconf -vif + - name: build locale + run: cd locale && ./build.py && cd .. + - name: configure + run: ./configure + - name: build + run: make