2021-08-11 10:35:05 +03:00
|
|
|
name: ubuntu
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ master ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ master ]
|
|
|
|
|
2024-07-16 12:12:53 +03:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2021-08-11 10:35:05 +03:00
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2023-11-30 02:26:17 +03:00
|
|
|
- uses: actions/checkout@v4
|
2021-08-11 10:35:05 +03:00
|
|
|
- name: make
|
|
|
|
run: make
|
|
|
|
- name: install check
|
|
|
|
run: sudo apt install check
|
|
|
|
- name: run tests
|
2021-08-11 10:36:53 +03:00
|
|
|
run: make test
|
2021-08-16 15:58:20 +03:00
|
|
|
|
|
|
|
build-android:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2023-11-30 02:26:17 +03:00
|
|
|
- uses: actions/checkout@v4
|
2021-08-16 15:58:20 +03:00
|
|
|
- uses: nttld/setup-ndk@v1
|
|
|
|
with:
|
|
|
|
ndk-version: r21e
|
|
|
|
- name: make
|
|
|
|
run: make cross-android
|