Create linux-ci.yaml
This commit is contained in:
parent
2ae68a5c85
commit
f34bafef70
1 changed files with 34 additions and 0 deletions
34
.github/workflows/linux-ci.yaml
vendored
Normal file
34
.github/workflows/linux-ci.yaml
vendored
Normal 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
|
Loading…
Reference in a new issue