Update main.yml

This commit is contained in:
tmayoff-hh 2025-03-20 09:55:11 -04:00 committed by GitHub
parent 67a71f861f
commit 8060a101dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,6 +11,16 @@ jobs:
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
@ -18,5 +28,5 @@ jobs:
name: tmayoff
authToken: '${{ secrets.CACHIX_AUTH }}'
- run: |
nix build ./dot_config/flake#nixosConfigurations.wash.config.system.build.toplevel
nix build ./dot_config/flake#nixosConfigurations.wash.config.system.build.toplevel --cores 1 -j1