mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-23 23:38:28 +01:00
Compare commits
No commits in common. "0da43226ed830ba2177a6526aa5f18613d377c99" and "116ac08ad898e217ab054483261efc0d65a60491" have entirely different histories.
0da43226ed
...
116ac08ad8
2 changed files with 0 additions and 26 deletions
1
.github/workflows/build-host.yml
vendored
1
.github/workflows/build-host.yml
vendored
|
|
@ -10,7 +10,6 @@ on:
|
||||||
required: true
|
required: true
|
||||||
jobs:
|
jobs:
|
||||||
build-host:
|
build-host:
|
||||||
name: ${{ matrix.host }}
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
|
|
||||||
25
.github/workflows/ci.yml
vendored
25
.github/workflows/ci.yml
vendored
|
|
@ -7,7 +7,6 @@ jobs:
|
||||||
parse-flake:
|
parse-flake:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
outputs:
|
outputs:
|
||||||
packages: ${{ steps.packages.outputs.packages }}
|
|
||||||
checks: ${{ steps.checks.outputs.checks }}
|
checks: ${{ steps.checks.outputs.checks }}
|
||||||
servers: ${{ steps.servers.outputs.servers }}
|
servers: ${{ steps.servers.outputs.servers }}
|
||||||
workstations: ${{ steps.workstations.outputs.workstations }}
|
workstations: ${{ steps.workstations.outputs.workstations }}
|
||||||
|
|
@ -16,11 +15,6 @@ jobs:
|
||||||
- uses: cachix/install-nix-action@v31
|
- uses: cachix/install-nix-action@v31
|
||||||
with:
|
with:
|
||||||
extra_nix_config: experimental-features = nix-command flakes pipe-operators
|
extra_nix_config: experimental-features = nix-command flakes pipe-operators
|
||||||
- name: Get packages
|
|
||||||
id: packages
|
|
||||||
run: |
|
|
||||||
packages=$(nix flake show --json | jq -c '.packages."x86_64-linux" | keys')
|
|
||||||
printf "packages=%s" "$packages" >> "$GITHUB_OUTPUT"
|
|
||||||
- name: Get checks
|
- name: Get checks
|
||||||
id: checks
|
id: checks
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -44,25 +38,6 @@ jobs:
|
||||||
|> builtins.filter (name: !configs.${name}.config.custom.services.comin.enable)
|
|> builtins.filter (name: !configs.${name}.config.custom.services.comin.enable)
|
||||||
' --json)
|
' --json)
|
||||||
printf "workstations=%s" "$workstations" >> "$GITHUB_OUTPUT"
|
printf "workstations=%s" "$workstations" >> "$GITHUB_OUTPUT"
|
||||||
build-package:
|
|
||||||
needs: parse-flake
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
package: ${{ fromJson(needs.parse-flake.outputs.packages) }}
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v5
|
|
||||||
- uses: cachix/install-nix-action@v31
|
|
||||||
with:
|
|
||||||
extra_nix_config: experimental-features = nix-command flakes pipe-operators
|
|
||||||
- uses: cachix/cachix-action@v15
|
|
||||||
with:
|
|
||||||
name: sebastian-stork
|
|
||||||
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
|
|
||||||
useDaemon: false
|
|
||||||
- name: Build package
|
|
||||||
run: nix build .#packages.x86_64-linux.${{ matrix.package }} --print-build-logs
|
|
||||||
build-check:
|
build-check:
|
||||||
needs: parse-flake
|
needs: parse-flake
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue