Skip to content

build

build #10

Workflow file for this run

name: "Build and Cache"
on:
pull_request:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.runner }}
strategy:
matrix:
runner:
- ubuntu-latest
- [self-hosted, linux, ARM64]
- [self-hosted, macOS, ARM64]
- [self-hosted, macOS, x64]
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v25
- uses: cachix/cachix-action@v14
with:
name: toyvo
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- run: nix build --accept-flake-config