mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 10:10:45 -06:00
silence apt-get
This commit is contained in:
parent
cea8b1a18d
commit
4f174390a8
3 changed files with 14 additions and 27 deletions
2
.github/actions/clean-disk/action.yml
vendored
2
.github/actions/clean-disk/action.yml
vendored
|
@ -41,7 +41,7 @@ runs:
|
|||
sudo apt-get purge \
|
||||
--allow-remove-essential \
|
||||
-qq \
|
||||
$(non_manifest_packages) &
|
||||
$(non_manifest_packages) > /dev/null &
|
||||
fi
|
||||
|
||||
wait
|
||||
|
|
25
.github/workflows/build.yml
vendored
25
.github/workflows/build.yml
vendored
|
@ -3,7 +3,7 @@ name: Build NixOS (on demand)
|
|||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
host:
|
||||
hosts:
|
||||
description: 'list of hosts to build'
|
||||
required: true
|
||||
default: 'othalan algiz'
|
||||
|
@ -14,15 +14,14 @@ on:
|
|||
|
||||
workflow_call:
|
||||
inputs:
|
||||
host:
|
||||
hosts:
|
||||
description: 'list of hosts to build'
|
||||
required: true
|
||||
default: 'othalan aligz'
|
||||
type: string
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}-${{ inputs.host }}
|
||||
cancel-in-progress: true
|
||||
# concurrency:
|
||||
# group: ${{ github.workflow }}-${{ github.ref }}-${{ inputs.host }}
|
||||
# cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
@ -52,10 +51,12 @@ jobs:
|
|||
|
||||
- name: Build
|
||||
run: |
|
||||
for host in ${{ inputs.host }}; do
|
||||
cachix watch-exec daylin -- \
|
||||
oizys build --system-path \
|
||||
--host "$host" \
|
||||
--flake . -- \
|
||||
--print-build-logs
|
||||
for host in ${{ inputs.hosts }}; do
|
||||
nix run . \
|
||||
-- \
|
||||
build --system-path \
|
||||
--host "$host" \
|
||||
--flake . \
|
||||
-- \
|
||||
--print-build-logs
|
||||
done
|
||||
|
|
14
.github/workflows/push.yml
vendored
14
.github/workflows/push.yml
vendored
|
@ -13,20 +13,6 @@ concurrency:
|
|||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
# checks:
|
||||
# uses: ./.github/workflows/checks.yml
|
||||
# secrets: inherit
|
||||
|
||||
build:
|
||||
# needs: checks
|
||||
strategy:
|
||||
max-parallel: 1
|
||||
matrix:
|
||||
host:
|
||||
- othalan
|
||||
# - mannaz
|
||||
# - algiz
|
||||
uses: ./.github/workflows/build.yml
|
||||
with:
|
||||
host: "${{ matrix.host }}"
|
||||
secrets: inherit
|
||||
|
|
Loading…
Reference in a new issue