Skip to content

Commit bad4e9c

Browse files
Android release check
1 parent 1d5c230 commit bad4e9c

File tree

2 files changed

+64
-0
lines changed

2 files changed

+64
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Android Release StreamrProxyClient
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
env:
8+
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
9+
10+
jobs:
11+
build-android:
12+
runs-on: macos-15
13+
steps:
14+
- uses: actions/checkout@v4
15+
with:
16+
ref: ${{ github.event.pull_request.head.ref }}
17+
fetch-depth: 0
18+
19+
- name: Install Dependencies
20+
uses: ./.github/workflows/reusable/android-install
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: "cached install"
2+
description: "install dependencies, build and cache result, or restore from cache if present"
3+
4+
runs:
5+
using: "composite"
6+
steps:
7+
- name: cache homedir
8+
id: cache-homedir
9+
uses: actions/cache/restore@v4
10+
with:
11+
key: ${{ runner.arch }}-${{ runner.os }}-cache-homedir1-${{ hashFiles('./vcpkg.json') }}
12+
path: |
13+
~/.cache/vcpkg/archives
14+
- name: cache vcpkg installed
15+
id: cache-vcpkg-installed
16+
uses: actions/cache/restore@v4
17+
with:
18+
key: ${{ runner.arch }}-${{ runner.os }}-cache-vcpkg-installed1-${{ hashFiles('./vcpkg.json') }}
19+
path: |
20+
./build/vcpkg_installed
21+
- name: install-prerequisities
22+
run:
23+
source install-prerequisities.sh
24+
shell: bash
25+
- name: install
26+
run: |
27+
./install.sh --prod ${ARCHFLAGS:-} || (echo heippa && cat /Users/runner/work/native-sdk/native-sdk/vcpkg/buildtrees/libdatachannel/config-arm64-android-out.log && exit 1)
28+
shell: bash
29+
- name: cache homedir save
30+
id: cache-homedir-save
31+
if: always()
32+
uses: actions/cache/save@v4
33+
with:
34+
key: ${{ runner.arch }}-${{ runner.os }}-cache-homedir1-${{ hashFiles('./vcpkg.json') }}
35+
path: |
36+
~/.cache/vcpkg/archives
37+
- name: cache vcpkg installed save
38+
id: cache-vcpkg-installed-save
39+
if: always()
40+
uses: actions/cache/save@v4
41+
with:
42+
key: ${{ runner.arch }}-${{ runner.os }}-cache-vcpkg-installed1-${{ hashFiles('./vcpkg.json') }}
43+
path: |
44+
./build/vcpkg_installed

0 commit comments

Comments
 (0)