tilt ci #12
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tilt-ci | |
on: [push] | |
jobs: | |
tilt-ci-android: | |
name: Tilt CI Android | |
runs-on: ["self-hosted", "Linux", "X64"] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: DeterminateSystems/magic-nix-cache-action@v2 | |
- name: Tilt CI | |
run: | | |
pushd dev | |
for i in {1..5}; do | |
echo "Tilt CI attempt $i" | |
nix develop -c tilt ci && exit 0 || sleep 60 | |
done | |
exit 1 | |
- name: Tilt Down | |
if: always() | |
continue-on-error: true | |
run: pushd dev && nix develop -c tilt down | |
tilt-ci-ios: | |
name: Tilt CI MacOS | |
runs-on: ["self-hosted", "MacOS", "ARM64"] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: DeterminateSystems/magic-nix-cache-action@v2 | |
- name: Tilt CI | |
run: | | |
pushd dev | |
for i in {1..5}; do | |
echo "Tilt CI attempt $i" | |
nix develop -c tilt ci && exit 0 || sleep 60 | |
done | |
exit 1 | |
- name: Tilt Down | |
if: always() | |
continue-on-error: true | |
run: pushd dev && nix develop -c tilt down |