Skip to content

Commit

Permalink
maximize ci build space
Browse files Browse the repository at this point in the history
  • Loading branch information
luqmanishere authored Apr 27, 2024
1 parent d6232f0 commit d98aa45
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions .github/workflows/system.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,42 @@ jobs:
runs-on: ubuntu-latest
environment: systemconfig
steps:
- name: Maximize build space
uses: AdityaGarg8/remove-unwanted-software@v3
with:
remove-android: 'true'
remove-dotnet: 'true'
remove-haskell: 'true'
remove-codeql: 'true'
remove-docker-images: 'true'
remove-large-packages: 'true'
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: cachix/cachix-action@v14
with:
name: nix-conf
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix build .#nixosConfigurations.$GITHUB_JOB.config.system.build.toplevel
- run: nix build .#nixosConfigurations.$GITHUB_JOB.config.system.build.toplevel --accept-flake-config
- run: echo "host $GITHUB_JOB OK"

sinon:
runs-on: ubuntu-latest
environment: systemconfig
steps:
- name: Maximize build space
uses: AdityaGarg8/remove-unwanted-software@v3
with:
remove-android: 'true'
remove-dotnet: 'true'
remove-haskell: 'true'
remove-codeql: 'true'
remove-docker-images: 'true'
remove-large-packages: 'true'
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: cachix/cachix-action@v14
with:
name: nix-conf
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix build .#nixosConfigurations.$GITHUB_JOB.config.system.build.toplevel
- run: nix build .#nixosConfigurations.$GITHUB_JOB.config.system.build.toplevel --accept-flake-config
- run: echo "host $GITHUB_JOB OK"

0 comments on commit d98aa45

Please sign in to comment.