Merge pull request #1 from formalco/eric/refactor-add-mac-support #9
This file contains hidden or 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: Test building Nix packages | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| target: | |
| - os: Linux x86_64 | |
| runner: ubuntu-24.04 | |
| - os: Linux arm64 | |
| runner: ubuntu-24.04-arm | |
| - os: macOS arm64 | |
| runner: macos-latest | |
| - os: macOS x86_64 | |
| runner: macos-latest | |
| runs-on: ${{ matrix.target.runner }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Nix | |
| uses: cachix/install-nix-action@v31 | |
| with: | |
| github_access_token: ${{ secrets.GITHUB_TOKEN }} | |
| - run: nix build --impure | |
| env: | |
| NIXPKGS_ALLOW_UNFREE: 1 |