forked from mycelium-com/wallet-android
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (40 loc) · 1.21 KB
/
rc.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
concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}
jobs:
build:
if: '!contains(github.event.head_commit.message, ''#skip-ci'')
'
runs-on: self-hosted
steps:
- continue-on-error: true
uses: actions/checkout@v3
with:
submodules: recursive
- continue-on-error: true
uses: docker/build-push-action@v4
with:
context: ${{ github.workspace }}
push: false
tags: mycelium_builder:latest
- continue-on-error: true
uses: addnab/docker-run-action@v3
with:
image: mycelium_builder:latest
options: '--volume ${{ github.workspace }}:/app/ --device /dev/fuse --cap-add
SYS_ADMIN --security-opt apparmor:unconfined
'
run: 'mkdir /project/
disorderfs --sort-dirents=yes --reverse-dirents=no /app/ /project/;
cd /project/
./gradlew clean test mbw::assembleProdnetRelease mbw::assembleBtctestnetRelease
mbw::assembleProdnetDebug mbw::assembleBtctestnetDebug
'
- continue-on-error: true
uses: actions/upload-artifact@v3
with:
path: mbw/build/outputs/
name: RC
on:
repository_dispatch:
types: trigger-ga___rc.yml