# 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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # ratchet:actions/checkout@v4 with: persist-credentials: false - name: Install Nix uses: cachix/install-nix-action@fc6e360bedc9ee72d75e701397f0bb30dce77568 # ratchet:cachix/install-nix-action@v31 - name: Build run: nix build -L --show-trace .#${{ matrix.attr }}