2021-08-11 07:35:05 +00:00
|
|
|
name: ubuntu
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ master ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ master ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: make
|
|
|
|
run: make
|
|
|
|
- name: install check
|
|
|
|
run: sudo apt install check
|
|
|
|
- name: run tests
|
2021-08-11 07:36:53 +00:00
|
|
|
run: make test
|
2021-08-16 12:58:20 +00:00
|
|
|
|
|
|
|
build-android:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: nttld/setup-ndk@v1
|
|
|
|
with:
|
|
|
|
ndk-version: r21e
|
|
|
|
- name: make
|
|
|
|
run: make cross-android
|