nixcfg-next #61067
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: "nixcfg-next" | |
| concurrency: "nixcfg-next" | |
| on: | |
| schedule: | |
| - cron: '37 * * * *' | |
| workflow_dispatch: | |
| jobs: | |
| "update": | |
| permissions: | |
| id-token: "write" | |
| contents: "write" | |
| runs-on: "ubuntu-24.04" | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v5 | |
| with: | |
| ref: main | |
| - uses: "DeterminateSystems/determinate-nix-action@main" | |
| - name: prep | |
| run: ./.github/prep.sh | |
| - name: update | |
| run: ./.github/update.sh | |
| "builds": | |
| needs: "update" | |
| permissions: | |
| id-token: "write" | |
| contents: "read" | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| runner: | |
| - "ubuntu-24.04" | |
| - "ubuntu-24.04-arm" | |
| - "macos-26" | |
| runs-on: ${{ matrix.runner }} | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| ref: main-next-wip | |
| - uses: endersonmenezes/free-disk-space@v3 | |
| with: | |
| remove_android: true | |
| remove_dotnet: true | |
| remove_tool_cache: true | |
| remove_packages: "azure-cli google-cloud-cli microsoft-edge-stable google-chrome-stable firefox postgresql* temurin-* *llvm* mysql* dotnet-sdk-*" | |
| remove_packages_one_command: true | |
| remove_folders: "/usr/share/swift /usr/share/miniconda /usr/share/az* /usr/local/lib/node_modules /usr/local/share/chromium /usr/local/share/powershell /usr/local/julia /usr/local/aws-cli /usr/local/aws-sam-cli /usr/share/gradle /usr/lib/jvm /home/runner/.rust /usr/local/.ghcup" | |
| rm_cmd: "rmz" # NEW: Faster deletion | |
| rmz_version: "3.1.1" # NEW: Specify rmz version | |
| - uses: "DeterminateSystems/determinate-nix-action@main" | |
| - name: Upgrade determinate-nixd to latest | |
| run: | | |
| sudo determinate-nixd upgrade --tools branch/main --daemon branch/main | |
| - uses: "DeterminateSystems/magic-nix-cache-action@main" | |
| - name: build + cache | |
| run: | | |
| ulimit -a | |
| nix flake check --keep-going | |
| - name: build + cache | |
| if: ${{ success() || failure() }} | |
| run: | | |
| # run it again, hopefully this time the output is easier to read | |
| ulimit -a | |
| nix flake check --keep-going |