Create linux-ci.yaml

This commit is contained in:
Marco Cawthorne 2023-10-08 22:25:55 -07:00 committed by GitHub
parent 2ae68a5c85
commit f34bafef70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 34 additions and 0 deletions

34
.github/workflows/linux-ci.yaml vendored Normal file
View File

@ -0,0 +1,34 @@
name: Linux CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: deps
run: |
sudo apt update
sudo apt install \
libglib2.0-dev \
libxml2-dev \
libjpeg8-dev \
libpng-dev \
libminizip-dev
- name: make
run: make
- uses: actions/upload-artifact@v3
with:
name: vmap-bin
path: vmap