Skip to content

Fixed permission related issues for the SDK. (#183) #272

Fixed permission related issues for the SDK. (#183)

Fixed permission related issues for the SDK. (#183) #272

Workflow file for this run

name: Renderer
on:
push:
branches:
- main
pull_request:
jobs:
androidBuild:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.7
- name: set up JDK
uses: actions/setup-java@v4
with:
distribution: "adopt"
java-version: 17
- name: assemble ViroCore
run: |
./gradlew :viroreact:assembleDebug
working-directory: ./android
- name: Upload result ViroCore
uses: actions/upload-artifact@v4.3.6
with:
name: viroCore
path: |
./android/virocore/build/outputs/aar/*.aar
./android/viroreact/build/outputs/aar/*.aar
./android/viroar/build/outputs/aar/*.aar
AndroidCheck:
name: Check
runs-on: ubuntu-latest
defaults:
run:
working-directory: android
steps:
- name: Checkout
uses: actions/checkout@v4.1.7
with:
fetch-depth: 0
- name: Install JDK
uses: actions/setup-java@v4
with:
distribution: "adopt"
java-version: 17
- name: Code checks
run: ./gradlew :viroreact:check
- name: Archive Lint report
uses: actions/upload-artifact@v4.3.6
if: ${{ always() }}
with:
name: Viro-Lint-report
path: |
./**/build/reports/lint-results.html
./**/**/build/reports/lint-results.html
iosBuild:
runs-on: ${{ matrix.macOS }}
strategy:
fail-fast: false
matrix:
xcode: ["14.2.0", "13.4.1"]
macOS: ["macos-12"]
steps:
- uses: actions/checkout@v4.1.7
- name: Install gpg
run: brew install gnupg
- uses: maxim-lobanov/setup-xcode@v1.6.0
with:
xcode-version: ${{ matrix.xcode }}
- name: Install pod dependencies
run: |
cd ios
pod install --verbose
shell: bash
- name: Xcodebuild iOS Renderer (non-static)
run: |
cd ios
set -o pipefail && xcodebuild \
-workspace ViroRenderer.xcworkspace \
-scheme ViroKit \
-sdk iphoneos \
-configuration Release \
IPHONEOS_DEPLOYMENT_TARGET=13.0 | xcpretty
- name: Upload iOS Renderer artifact
uses: actions/upload-artifact@v4.3.6
with:
name: ios_dist.tgz
path: ./ios/dist/