Separate android into its own job
This commit is contained in:
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
|
||||
on:
|
||||
pull_request:
|
||||
|
||||
env:
|
||||
NIXPKGS_ALLOW_UNFREE: 1
|
||||
|
||||
@@ -27,5 +26,3 @@ jobs:
|
||||
run: nix develop --impure --command bash -c 'export HOME=$PWD; prettier . --check'
|
||||
- name: test
|
||||
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'
|
||||
|
Reference in New Issue
Block a user