mirror of
https://github.com/cachix/install-nix-action.git
synced 2025-09-21 15:49:12 +00:00
58 lines
1.7 KiB
YAML
58 lines
1.7 KiB
YAML
name: "install-nix-action test"
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- master
|
|
workflow_dispatch:
|
|
|
|
env:
|
|
nixpkgs_channel: nixpkgs=channel:nixos-25.05
|
|
|
|
jobs:
|
|
test:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
- os: ubuntu-latest
|
|
system: x86_64-linux
|
|
installer_version: nix-2.8.0
|
|
- os: ubuntu-24.04-arm
|
|
system: aarch64-linux
|
|
installer_version: nix-2.8.0
|
|
- os: ubuntu-22.04
|
|
system: x86_64-linux
|
|
installer_version: nix-2.8.0
|
|
- os: macos-latest
|
|
system: aarch64-darwin
|
|
installer_version: nix-2.18.6
|
|
- os: macos-26
|
|
system: aarch64-darwin
|
|
installer_version: nix-2.18.6
|
|
- os: macos-15
|
|
system: aarch64-darwin
|
|
installer_version: nix-2.18.6
|
|
- os: macos-14
|
|
system: aarch64-darwin
|
|
installer_version: nix-2.8.0
|
|
- os: macos-13
|
|
system: x86_64-darwin
|
|
installer_version: nix-2.8.0
|
|
uses: ./.github/workflows/test-per-system.yml
|
|
with:
|
|
runs-on: ${{ matrix.os }}
|
|
system: ${{ matrix.system }}
|
|
installer_version: ${{ matrix.installer_version }}
|
|
|
|
act-support:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
- run: curl https://raw.githubusercontent.com/nektos/act/master/install.sh | sudo bash
|
|
- run: docker pull ghcr.io/catthehacker/ubuntu:js-24.04
|
|
- run: |
|
|
./bin/act push \
|
|
-P ubuntu-latest=ghcr.io/catthehacker/ubuntu:js-24.04 \
|
|
-j simple-build \
|
|
--matrix os:ubuntu-latest
|