forked from m2049r/xmrwallet
-
Notifications
You must be signed in to change notification settings - Fork 1
50 lines (44 loc) · 1.56 KB
/
build-apk.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: build-apk
on: [push]
jobs:
build-libs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Install Make
- name: Install Make
run: |
sudo apt-get update
sudo apt-get install -y make
# Install Docker
- name: Install Docker
run: |
sudo apt-get update
sudo apt-get install -y \
ca-certificates \
curl \
gnupg \
lsb-release
sudo mkdir -m 0755 -p /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
- name: Clone monero repository
run: |
git clone https://github.com/m2049r/monero.git
cd monero
git fetch
git checkout release-v0.18.3.3-monerujo-v4.0.6
git submodule update --init --force
- name: Create symlink
run: |
ln -s $(pwd)/monero $(pwd)/../xmrwallet/external-libs/monero
- name: Build lib
run: |
cd $(pwd)/../xmrwallet/external-libs
make
- name: Build Android App
uses: sparkfabrik/[email protected]