-
Notifications
You must be signed in to change notification settings - Fork 28
27 lines (24 loc) · 1.18 KB
/
android-release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: Android Build
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- name: submodules-init
uses: snickerbockers/submodules-init@v4
- name: remove zmq
run: sudo apt-get remove --purge --auto-remove libzmq5 libnorm1 libboost* cmake* build-essential*
- name: remove boost
run: sudo rm -rf /usr/local/share/boost
- name: cleanup
run: sudo apt-get clean; sudo apt-get autoclean
- name: install zmq
run: sudo apt-get install libnorm1=1.5r6+dfsg1-6 libzmq5=4.2.5-1ubuntu0.2
- name: install dependecies
run: sudo apt-get install build-essential=12.4ubuntu1 cmake pkg-config=0.29.1-0ubuntu2 libboost-all-dev=1.65.1.0ubuntu1 libssl-dev libsodium23=1.0.16-2 libsodium-dev=1.0.16-2 libpgm-dev=5.2.122~dfsg-2 libzmq3-dev=4.2.5-1ubuntu0.2 libunbound-dev libminiupnpc-dev libunwind8-dev liblzma-dev libreadline6-dev libldns-dev libexpat1-dev libgtest-dev doxygen graphviz libpcsclite-dev libnorm-dev=1.5r6+dfsg1-6 libpcsclite1
- name: build
run: export PATH="$PWD/contrib/depends/aarch64-linux-android/native/bin:$PATH" && make depends target=aarch64-linux-android