ci: build custom packages instead of full system configs
Some checks failed
CI / check (push) Successful in 3m59s
CI / build-and-cache (custom.app-launcher-server) (push) Failing after 2m18s
CI / build-and-cache (custom.claude-code) (push) Failing after 2m22s
CI / build-and-cache (custom.mcrcon-rbw) (push) Failing after 2m20s
CI / build-and-cache (custom.rclone-torbox-setup) (push) Failing after 2m20s
CI / build-and-cache (qt-pinned.jellyfin-media-player) (push) Has been cancelled
CI / build-and-cache (custom.tea-rbw) (push) Has been cancelled
Some checks failed
CI / check (push) Successful in 3m59s
CI / build-and-cache (custom.app-launcher-server) (push) Failing after 2m18s
CI / build-and-cache (custom.claude-code) (push) Failing after 2m22s
CI / build-and-cache (custom.mcrcon-rbw) (push) Failing after 2m20s
CI / build-and-cache (custom.rclone-torbox-setup) (push) Failing after 2m20s
CI / build-and-cache (qt-pinned.jellyfin-media-player) (push) Has been cancelled
CI / build-and-cache (custom.tea-rbw) (push) Has been cancelled
Focus on packages that actually need caching: - custom.* packages from packages/ - qt-pinned.jellyfin-media-player (qt5webengine) Avoids unrelated build failures (steam) and is much faster.
This commit is contained in:
@@ -26,22 +26,22 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
machine:
|
package:
|
||||||
- nix-book
|
- custom.claude-code
|
||||||
- boxy
|
- custom.app-launcher-server
|
||||||
- zix790prors
|
- custom.mcrcon-rbw
|
||||||
- nix-deck
|
- custom.tea-rbw
|
||||||
- john-endesktop
|
- custom.rclone-torbox-setup
|
||||||
- live-usb
|
- qt-pinned.jellyfin-media-player
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- uses: https://git.johnogle.info/johno/gitea-actions/nix-setup@v1
|
- uses: https://git.johnogle.info/johno/gitea-actions/nix-setup@v1
|
||||||
|
|
||||||
- name: Build ${{ matrix.machine }}
|
- name: Build ${{ matrix.package }}
|
||||||
id: build
|
id: build
|
||||||
run: |
|
run: |
|
||||||
OUT_PATH=$(nix build .#nixosConfigurations.${{ matrix.machine }}.config.system.build.toplevel --no-link --print-out-paths)
|
OUT_PATH=$(nix build .#${{ matrix.package }} --no-link --print-out-paths)
|
||||||
echo "out_path=$OUT_PATH" >> "$GITHUB_OUTPUT"
|
echo "out_path=$OUT_PATH" >> "$GITHUB_OUTPUT"
|
||||||
env:
|
env:
|
||||||
NIX_CONFIG: "access-tokens = git.johnogle.info=${{ secrets.GITEA_ACCESS_TOKEN }}"
|
NIX_CONFIG: "access-tokens = git.johnogle.info=${{ secrets.GITEA_ACCESS_TOKEN }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user