build: add basic ci workflow

Add a GitHub Action workflow for basic continuous integration on Linux
This commit is contained in:
Ian Gilham 2020-03-06 10:45:16 +00:00
parent a32cb890d1
commit 05f30e2c55
No known key found for this signature in database
GPG Key ID: 9597F133EF2FC115
1 changed files with 25 additions and 0 deletions

25
.github/workflows/main.yml vendored Normal file
View File

@ -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