-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1d5c230
commit bad4e9c
Showing
2 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Android Release StreamrProxyClient | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
env: | ||
BRANCH_NAME: ${{ github.head_ref || github.ref_name }} | ||
|
||
jobs: | ||
build-android: | ||
runs-on: macos-15 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.event.pull_request.head.ref }} | ||
fetch-depth: 0 | ||
|
||
- name: Install Dependencies | ||
uses: ./.github/workflows/reusable/android-install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: "cached install" | ||
description: "install dependencies, build and cache result, or restore from cache if present" | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: cache homedir | ||
id: cache-homedir | ||
uses: actions/cache/restore@v4 | ||
with: | ||
key: ${{ runner.arch }}-${{ runner.os }}-cache-homedir1-${{ hashFiles('./vcpkg.json') }} | ||
path: | | ||
~/.cache/vcpkg/archives | ||
- name: cache vcpkg installed | ||
id: cache-vcpkg-installed | ||
uses: actions/cache/restore@v4 | ||
with: | ||
key: ${{ runner.arch }}-${{ runner.os }}-cache-vcpkg-installed1-${{ hashFiles('./vcpkg.json') }} | ||
path: | | ||
./build/vcpkg_installed | ||
- name: install-prerequisities | ||
run: | ||
source install-prerequisities.sh | ||
shell: bash | ||
- name: install | ||
run: | | ||
./install.sh --prod ${ARCHFLAGS:-} || (echo heippa && cat /Users/runner/work/native-sdk/native-sdk/vcpkg/buildtrees/libdatachannel/config-arm64-android-out.log && exit 1) | ||
shell: bash | ||
- name: cache homedir save | ||
id: cache-homedir-save | ||
if: always() | ||
uses: actions/cache/save@v4 | ||
with: | ||
key: ${{ runner.arch }}-${{ runner.os }}-cache-homedir1-${{ hashFiles('./vcpkg.json') }} | ||
path: | | ||
~/.cache/vcpkg/archives | ||
- name: cache vcpkg installed save | ||
id: cache-vcpkg-installed-save | ||
if: always() | ||
uses: actions/cache/save@v4 | ||
with: | ||
key: ${{ runner.arch }}-${{ runner.os }}-cache-vcpkg-installed1-${{ hashFiles('./vcpkg.json') }} | ||
path: | | ||
./build/vcpkg_installed |