diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000000..a1fcade398 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,30 @@ +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: Run local backend in background + run: | + nix develop -c make tilt-up & + sleep 30 + - run: nix develop -c tilt wait --timeout 1h --for=condition=Ready uiresources init-setup + + 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: Run local backend in background + run: | + nix develop -c make tilt-up & + sleep 30 + - run: nix develop -c tilt wait --timeout 1h --for=condition=Ready uiresources init-setup