Skip to content

fix(ci): disable macos build #38

fix(ci): disable macos build

fix(ci): disable macos build #38

Workflow file for this run

name: CI
on:
workflow_dispatch:
push:
branches:
- main
paths-ignore:
- "*"
- "**.md"
- "!flake.nix"
- "!flake.lock"
pull_request:
types: [opened, synchronize, labeled, reopened]
paths-ignore:
- "*"
- "**.md"
- "!flake.nix"
- "!flake.lock"
defaults:
run:
shell: bash
env:
CACHIX_BINARY_CACHE: cameronraysmith
jobs:
nixci:
concurrency:
group: nixci-${{ matrix.os }}-${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.ref }}
cancel-in-progress: true
strategy:
matrix:
os:
# - macos-latest
- ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- name: Maximize build space
uses: cameronraysmith/maximize-build-space@fdf0c06b18d92be98aa64cb68ae4ea4c9bc4794d # ratchet:cameronraysmith/maximize-build-space@print-usage
with:
build-mount-path: /nix
build-mount-path-ownership: root:root
root-reserve-mb: 34816
swap-size-mb: 1024
remove-dotnet: "true"
remove-android: "true"
remove-codeql: "true"
remove-docker-images: "true"
- uses: cachix/install-nix-action@ba0dd844c9180cbf77aa72a116d6fbc515d0e87b # ratchet:cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@ad2ddac53f961de1989924296a1f236fcfbaa4fc # ratchet:cachix/cachix-action@v15
with:
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
name: ${{ env.CACHIX_BINARY_CACHE }}
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # ratchet:actions/checkout@v4
- run: nix run --print-build-logs --show-trace github:srid/nixci -- build
- run: df -h