Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
isabelroses committed Feb 16, 2024
1 parent ee51d63 commit 396cd1a
Show file tree
Hide file tree
Showing 7 changed files with 71 additions and 69 deletions.
26 changes: 0 additions & 26 deletions .github/runners/build-common.yml

This file was deleted.

28 changes: 0 additions & 28 deletions .github/runners/common.yml

This file was deleted.

22 changes: 19 additions & 3 deletions .github/workflows/build-isos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,26 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Prepare Environment
uses: ./.github/runners/build-common.yml
- name: Maximize Space
uses: easimon/maximize-build-space@v10
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
overprovision-lvm: true
remove-android: true
remove-dotnet: true
remove-haskell: true

- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
with:
logger: pretty

- name: Nix Magic Cache
uses: DeterminateSystems/magic-nix-cache-action@main

- name: Build Lilith Iso
shell: bash
Expand Down
22 changes: 19 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,26 @@ jobs:
- plymouth-theme-catppuccin

steps:
- name: Prepare Environment
uses: ./.github/runners/build-common.yml
- name: Maximize Space
uses: easimon/maximize-build-space@v10
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
overprovision-lvm: true
remove-android: true
remove-dotnet: true
remove-haskell: true

- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
with:
logger: pretty

- name: Nix Magic Cache
uses: DeterminateSystems/magic-nix-cache-action@main

- name: Setup cachix
uses: cachix/cachix-action@v14
Expand Down
14 changes: 11 additions & 3 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,18 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Prepare Environment
uses: ./.github/runners/common.yml
- name: Checkout
uses: actions/checkout@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}

- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
with:
logger: pretty

- name: Nix Magic Cache
uses: DeterminateSystems/magic-nix-cache-action@main

- name: Check Flake
run: nix flake check --accept-flake-config
Expand Down
14 changes: 11 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,18 @@ jobs:
contents: write

steps:
- name: Prepare Environment
uses: ./.github/runners/common.yml
- name: Checkout
uses: actions/checkout@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}

- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
with:
logger: pretty

- name: Nix Magic Cache
uses: DeterminateSystems/magic-nix-cache-action@main

- name: Build Linux packages
run: "nix build -L .#docs-html"
Expand Down
14 changes: 11 additions & 3 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,18 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Prepare Environment
uses: ./.github/runners/common.yml
- name: Checkout
uses: actions/checkout@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}

- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
with:
logger: pretty

- name: Nix Magic Cache
uses: DeterminateSystems/magic-nix-cache-action@main

- name: Update Lockfile
uses: DeterminateSystems/update-flake-lock@main
Expand Down

0 comments on commit 396cd1a

Please sign in to comment.