forked from mycelium-com/wallet-android
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (35 loc) · 1.07 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
name: RC
on:
push:
branches: [master, ci-build-rc]
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs:
build:
if: >
!contains(github.event.head_commit.message, '#skip-ci')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: docker/build-push-action@v4
with:
tags: mycelium_builder:latest
push: false
context: ${{ github.workspace }}
- 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
- uses: actions/upload-artifact@v3
with:
path: mbw/build/outputs/