mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-06 08:48:34 -05:00
32 lines
781 B
YAML
32 lines
781 B
YAML
on:
|
|
push:
|
|
|
|
jobs:
|
|
build:
|
|
# strategy:
|
|
# matrix:
|
|
# os: [ubuntu-latest, macOS-latest]
|
|
# host: [wash, mal, hinge]
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Maximize build space
|
|
uses: easimon/maximize-build-space@master
|
|
with:
|
|
root-reserve-mb: 512
|
|
swap-size-mb: 1024
|
|
remove-dotnet: 'true'
|
|
remove-android: 'true'
|
|
- run: |
|
|
echo "Free space:"
|
|
df -h
|
|
- uses: actions/checkout@v4
|
|
- uses: DeterminateSystems/nix-installer-action@v16
|
|
- uses: cachix/cachix-action@v16
|
|
with:
|
|
name: tmayoff
|
|
authToken: '${{ secrets.CACHIX_AUTH }}'
|
|
- run: |
|
|
nix build ./dot_config/flake#nixosConfigurations.wash.config.system.build.toplevel --cores 1 -j1
|
|
|