19 lines
670 B
YAML
19 lines
670 B
YAML
on:
|
|
push:
|
|
branches:
|
|
# - master
|
|
jobs:
|
|
build:
|
|
name: Build
|
|
runs-on: nixos-x86_64-linux
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
submodules: recursive
|
|
- name: react-native-vision-camera
|
|
run: nix develop --impure --command bash -c 'export HOME=$PWD; cd ./react-native-vision-camera/package; yarn install'
|
|
- name: install
|
|
run: nix develop --impure --command bash -c 'export HOME=$PWD; yarn config set link-folder . && yarn install'
|
|
- name: android-build
|
|
run: nix develop --impure --command bash -c 'export GRADLE_USER_HOME=$PWD; export HOME=$PWD; cd android; ./gradlew assembleDebug'
|