# SPDX-FileCopyrightText: 2025 Ryan Cao # # SPDX-License-Identifier: Apache-2.0 name: Build on: push: branches: ["main"] pull_request: branches: ["main"] permissions: contents: read jobs: build: strategy: matrix: label: - caladan include: - label: caladan attr: darwinConfigurations.caladan.config.system.build.toplevel runner: macos-14 runs-on: ${{ matrix.runner }} steps: - name: Checkout repository uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # ratchet:actions/checkout@v4 with: persist-credentials: false - name: Install Nix uses: cachix/install-nix-action@17fe5fb4a23ad6cbbe47d6b3f359611ad276644c # ratchet:cachix/install-nix-action@v31 - name: Build run: nix build -L --show-trace .#${{ matrix.attr }}