mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-09 20:33:15 -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 \
|
sudo apt-get purge \
|
||||||
--allow-remove-essential \
|
--allow-remove-essential \
|
||||||
-qq \
|
-qq \
|
||||||
$(non_manifest_packages) &
|
$(non_manifest_packages) > /dev/null &
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wait
|
wait
|
||||||
|
|
21
.github/workflows/build.yml
vendored
21
.github/workflows/build.yml
vendored
|
@ -3,7 +3,7 @@ name: Build NixOS (on demand)
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
host:
|
hosts:
|
||||||
description: 'list of hosts to build'
|
description: 'list of hosts to build'
|
||||||
required: true
|
required: true
|
||||||
default: 'othalan algiz'
|
default: 'othalan algiz'
|
||||||
|
@ -14,15 +14,14 @@ on:
|
||||||
|
|
||||||
workflow_call:
|
workflow_call:
|
||||||
inputs:
|
inputs:
|
||||||
host:
|
hosts:
|
||||||
description: 'list of hosts to build'
|
description: 'list of hosts to build'
|
||||||
required: true
|
|
||||||
default: 'othalan aligz'
|
default: 'othalan aligz'
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
concurrency:
|
# concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}-${{ inputs.host }}
|
# group: ${{ github.workflow }}-${{ github.ref }}-${{ inputs.host }}
|
||||||
cancel-in-progress: true
|
# cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -52,10 +51,12 @@ jobs:
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
for host in ${{ inputs.host }}; do
|
for host in ${{ inputs.hosts }}; do
|
||||||
cachix watch-exec daylin -- \
|
nix run . \
|
||||||
oizys build --system-path \
|
-- \
|
||||||
|
build --system-path \
|
||||||
--host "$host" \
|
--host "$host" \
|
||||||
--flake . -- \
|
--flake . \
|
||||||
|
-- \
|
||||||
--print-build-logs
|
--print-build-logs
|
||||||
done
|
done
|
||||||
|
|
14
.github/workflows/push.yml
vendored
14
.github/workflows/push.yml
vendored
|
@ -13,20 +13,6 @@ concurrency:
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# checks:
|
|
||||||
# uses: ./.github/workflows/checks.yml
|
|
||||||
# secrets: inherit
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
# needs: checks
|
|
||||||
strategy:
|
|
||||||
max-parallel: 1
|
|
||||||
matrix:
|
|
||||||
host:
|
|
||||||
- othalan
|
|
||||||
# - mannaz
|
|
||||||
# - algiz
|
|
||||||
uses: ./.github/workflows/build.yml
|
uses: ./.github/workflows/build.yml
|
||||||
with:
|
|
||||||
host: "${{ matrix.host }}"
|
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
Loading…
Reference in a new issue