Skip to content

nixcfg-next

nixcfg-next #63270

Workflow file for this run

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@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
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@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
ref: main-next-wip
- uses: endersonmenezes/free-disk-space@7901478139cff6e9d44df5972fd8ab8fcade4db1 # v3.2.2
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
if: ${{ success() || failure() }}
run: |
ulimit -a
nix flake check --keep-going --build-all -L
- 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 --build-all -L
- name: build + cache (jupitertwo)
if: (success() || failure()) && matrix.runner == 'ubuntu-24.04'
run: |
nix build -L --keep-going \
.#toplevels.jupitertwo
- name: build + cache (riscv64 installer)
if: (success() || failure()) && matrix.runner == 'ubuntu-24.04'
run: |
nix build -L --keep-going \
.#extra.riscv64-linux.installer
- name: build + cache (riscv64 iso-bits)
if: (success() || failure()) && matrix.runner == 'ubuntu-24.04'
run: |
nix build -L --keep-going \
.#extra.riscv64-linux.iso-bits