railbird-gql/.gitea/workflows/android.yaml

19 lines
670 B
YAML
Raw Normal View History

2024-02-03 21:48:05 -07:00
on:
push:
branches:
2024-02-03 22:21:37 -07:00
# - master
2024-02-03 21:48:05 -07:00
jobs:
build:
2024-02-03 21:58:54 -07:00
name: Build
2024-02-03 22:08:51 -07:00
runs-on: nixos-x86_64-linux
2024-02-03 21:48:05 -07:00
steps:
2024-02-03 21:58:54 -07:00
- uses: actions/checkout@v3
with:
submodules: recursive
2024-02-03 22:08:51 -07:00
- name: react-native-vision-camera
2024-02-03 21:58:54 -07:00
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'
2024-02-03 21:48:05 -07:00
- name: android-build
run: nix develop --impure --command bash -c 'export GRADLE_USER_HOME=$PWD; export HOME=$PWD; cd android; ./gradlew assembleDebug'