mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 19:46:07 +01:00
.github: drop fakedroid-odt workflow
This commit is contained in:
parent
2d93311c4f
commit
d7c432bad3
1 changed files with 0 additions and 58 deletions
58
.github/workflows/fakedroid-odt.yml
vendored
58
.github/workflows/fakedroid-odt.yml
vendored
|
|
@ -1,58 +0,0 @@
|
||||||
name: Run on-device-tests with fakedroid
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
push:
|
|
||||||
schedule:
|
|
||||||
- cron: 0 0 * * 1
|
|
||||||
jobs:
|
|
||||||
fakedroid-odt-channel:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Install nix
|
|
||||||
uses: cachix/install-nix-action@v25
|
|
||||||
|
|
||||||
- name: Setup cachix
|
|
||||||
uses: cachix/cachix-action@v14
|
|
||||||
with:
|
|
||||||
name: nix-on-droid
|
|
||||||
signingKey: "${{ secrets.CACHIX_SIGNING_KEY }}"
|
|
||||||
|
|
||||||
- name: Initialize fakedroid for channel setup
|
|
||||||
run: nix run --impure .#fakedroid -- echo INIT
|
|
||||||
|
|
||||||
- name: Run tests
|
|
||||||
run: |
|
|
||||||
nix run --impure .#fakedroid -- mkdir -p .cache/nix-on-droid-self-test
|
|
||||||
nix run --impure .#fakedroid -- touch .cache/nix-on-droid-self-test/confirmation-granted
|
|
||||||
nix run --impure .#fakedroid -- nix-on-droid on-device-test
|
|
||||||
|
|
||||||
- name: Push to cachix
|
|
||||||
if: always() && github.event_name != 'pull_request'
|
|
||||||
run: nix run --impure .#fakedroid -- nix-shell -p cachix --run 'nix --extra-experimental-features nix-command path-info --all | cachix push nix-on-droid'
|
|
||||||
|
|
||||||
fakedroid-flakes:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Install nix
|
|
||||||
uses: cachix/install-nix-action@v25
|
|
||||||
|
|
||||||
- name: Setup cachix
|
|
||||||
uses: cachix/cachix-action@v14
|
|
||||||
with:
|
|
||||||
name: nix-on-droid
|
|
||||||
signingKey: "${{ secrets.CACHIX_SIGNING_KEY }}"
|
|
||||||
|
|
||||||
- name: Initialize fakedroid for flake setup
|
|
||||||
run: USE_FLAKE=1 nix run --impure .#fakedroid -- echo INIT
|
|
||||||
|
|
||||||
- name: Push to cachix
|
|
||||||
if: always() && github.event_name != 'pull_request'
|
|
||||||
run: nix run --impure .#fakedroid -- nix-shell -p cachix --run 'nix --extra-experimental-features nix-command path-info --all | cachix push nix-on-droid'
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue