how about homes
This commit is contained in:
parent
b114a0182e
commit
2b4a139db1
1 changed files with 30 additions and 6 deletions
36
.github/workflows/build-and-cache.yml
vendored
36
.github/workflows/build-and-cache.yml
vendored
|
@ -13,7 +13,7 @@ jobs:
|
|||
- github:sodiboo/niri-flake#niri-unstable
|
||||
os:
|
||||
- ubuntu-latest
|
||||
- macos-latest
|
||||
# - macos-latest
|
||||
runs-on: ${{ matrix.os }}
|
||||
continue-on-error: true
|
||||
steps:
|
||||
|
@ -28,6 +28,7 @@ jobs:
|
|||
cache: ${{ vars.ATTIC_CACHE }}
|
||||
token: ${{ secrets.ATTIC_TOKEN }}
|
||||
- run: nix build -L '${{ matrix.package }}'
|
||||
|
||||
build-machines:
|
||||
strategy:
|
||||
matrix:
|
||||
|
@ -35,10 +36,6 @@ jobs:
|
|||
- chunk
|
||||
- ytnix
|
||||
- titan
|
||||
home:
|
||||
- yt@ytnix
|
||||
- yt@chunk
|
||||
|
||||
os:
|
||||
- ubuntu-latest
|
||||
# - macos-latest
|
||||
|
@ -60,4 +57,31 @@ jobs:
|
|||
with:
|
||||
persist-credentials: false
|
||||
- run: nix build -L .#nixosConfigurations.${{ matrix.machine }}.config.system.build.toplevel
|
||||
# - run: nix build -L .#homeConfigurations."${{ matrix.home }}".activationPackage
|
||||
|
||||
build-homes:
|
||||
strategy:
|
||||
matrix:
|
||||
home:
|
||||
- yt@ytnix
|
||||
- yt@chunk
|
||||
os:
|
||||
- ubuntu-latest
|
||||
# - macos-latest
|
||||
runs-on: ${{ matrix.os }}
|
||||
continue-on-error: true
|
||||
steps:
|
||||
- uses: DeterminateSystems/nix-installer-action@main
|
||||
with:
|
||||
logger: pretty
|
||||
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||
- name: Setup Attic cache
|
||||
uses: ryanccn/attic-action@v0
|
||||
with:
|
||||
endpoint: ${{ vars.ATTIC_ENDPOINT }}
|
||||
cache: ${{ vars.ATTIC_CACHE }}
|
||||
token: ${{ secrets.ATTIC_TOKEN }}
|
||||
- name: Sync repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
persist-credentials: false
|
||||
- run: nix build -L .#homeConfigurations."${{ matrix.home }}".activationPackage
|
||||
|
|
Loading…
Add table
Reference in a new issue