Separate android into its own job
This commit is contained in:
parent
2e75f784dd
commit
18ec4bf9f1
11
.gitea/workflows/android.yaml
Normal file
11
.gitea/workflows/android.yaml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Install
|
||||||
|
runs-on: nixos-x86_64-linux
|
||||||
|
steps:
|
||||||
|
- name: android-build
|
||||||
|
run: nix develop --impure --command bash -c 'export GRADLE_USER_HOME=$PWD; export HOME=$PWD; cd android; ./gradlew assembleDebug'
|
@ -1,7 +1,6 @@
|
|||||||
name: Tests
|
name: Tests
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
NIXPKGS_ALLOW_UNFREE: 1
|
NIXPKGS_ALLOW_UNFREE: 1
|
||||||
|
|
||||||
@ -27,5 +26,3 @@ jobs:
|
|||||||
run: nix develop --impure --command bash -c 'export HOME=$PWD; prettier . --check'
|
run: nix develop --impure --command bash -c 'export HOME=$PWD; prettier . --check'
|
||||||
- name: test
|
- name: test
|
||||||
run: nix develop --impure --command bash -c 'export HOME=$PWD; yarn run test --no-watchman'
|
run: nix develop --impure --command bash -c 'export HOME=$PWD; yarn run test --no-watchman'
|
||||||
- name: android-build
|
|
||||||
run: nix develop --impure --command bash -c 'export GRADLE_USER_HOME=$PWD; cd android; ./gradlew assembleDebug'
|
|
||||||
|
Loading…
Reference in New Issue
Block a user