ci: adjust oldest supported installer for macos-15

This commit is contained in:
Sander 2025-08-28 18:15:45 +02:00
parent 56a7bb7b56
commit f0f3cc651e
No known key found for this signature in database

View file

@ -8,7 +8,6 @@ on:
env: env:
nixpkgs_channel: nixpkgs=channel:nixos-25.05 nixpkgs_channel: nixpkgs=channel:nixos-25.05
oldest_supported_installer: nix-2.8.0
jobs: jobs:
simple-build: simple-build:
@ -122,11 +121,17 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: include:
- ubuntu-latest - os: ubuntu-latest
- ubuntu-24.04-arm installer_version: nix-2.8.0
- macos-latest - os: ubuntu-24.04-arm
- macos-13 installer_version: nix-2.8.0
- os: macos-latest
# macOS 15 Sequoia took over some of the ids previously used for _nixbld
# 2.18.6 is the oldest version that was patched for this.
installer_version: nix-2.18.6
- os: macos-13
installer_version: nix-2.8.0
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
@ -134,7 +139,7 @@ jobs:
uses: ./ uses: ./
with: with:
nix_path: ${{ env.nixpkgs_channel }} nix_path: ${{ env.nixpkgs_channel }}
install_url: https://releases.nixos.org/nix/${{ env.oldest_supported_installer }}/install install_url: https://releases.nixos.org/nix/${{ matrix.installer_version }}/install
- run: nix-build test.nix - run: nix-build test.nix
act-support: act-support: