mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-24 20:10:43 -06:00
Compare commits
1 commit
5fba8d66e3
...
0af0462bd6
Author | SHA1 | Date | |
---|---|---|---|
0af0462bd6 |
2 changed files with 38 additions and 29 deletions
51
.github/workflows/update.yml
vendored
51
.github/workflows/update.yml
vendored
|
@ -95,41 +95,40 @@ jobs:
|
||||||
|
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: >
|
run: |
|
||||||
nix run .
|
system_attr=$(nix run . -- output --host "${{ matrix.host }}" --flake .)
|
||||||
--
|
nix run . \
|
||||||
build
|
-- \
|
||||||
$(nix run . -- output --host "${{ matrix.host }}" --flake .)
|
build $system_attr \
|
||||||
--flake .
|
--flake . \
|
||||||
--debug
|
--debug \
|
||||||
--
|
-- \
|
||||||
--keep-going
|
--print-build-logs \
|
||||||
--print-build-logs
|
|
||||||
--out-link current
|
--out-link current
|
||||||
|
|
||||||
|
|
||||||
- run: git checkout flake-lock
|
- run: git checkout flake-lock
|
||||||
|
|
||||||
- name: Pre-build oizys
|
- name: Pre-build oizys
|
||||||
run: nix build .
|
run: nix build .
|
||||||
|
|
||||||
- name: Build Updated
|
- name: Build Updated
|
||||||
run: >
|
run: |
|
||||||
nix run .
|
system_attr=$(nix run . -- output --host "${{ matrix.host }}" --flake .)
|
||||||
--
|
nix run . \
|
||||||
build
|
-- \
|
||||||
$(nix run . -- output --host "${{ matrix.host }}" --flake .)
|
build $system_attr \
|
||||||
--flake .
|
--flake . \
|
||||||
--debug
|
--debug \
|
||||||
--
|
-- \
|
||||||
--keep-going
|
--keep-going \
|
||||||
--print-build-logs
|
--print-build-logs \
|
||||||
--out-link updated
|
--out-link updated
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
echo "# System Diff" >> $GITHUB_STEP_SUMMARY
|
echo "# System Diff" >> $GITHUB_STEP_SUMMARY
|
||||||
nix run "nixpkgs#nvd" -- --color always diff ./current ./updated >> summary.md
|
nix run "nixpkgs#nvd" -- --color always diff ./current ./updated >> summary.md
|
||||||
printf '```\n%s```\n' "$(nix run "nixpkgs#nvd" -- diff ./current ./updated)" >> $GITHUB_STEP_SUMMARY
|
printf '```\n%s```\n' "$(nix run "nixpkgs#nvd" -- diff ./current ./updated)" >> $GITHUB_STEP_SUMMARY
|
||||||
|
nix run "nixpkgs#nvd" -- --color always diff ./current ./updated | nix run "nixpkgs#charm-freeze" -- --output diff.svg
|
||||||
|
|
||||||
- run: df -h
|
- run: df -h
|
||||||
|
|
||||||
|
@ -137,3 +136,13 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.host }}-summary
|
name: ${{ matrix.host }}-summary
|
||||||
path: summary.md
|
path: summary.md
|
||||||
|
|
||||||
|
# https://github.com/actions/upload-artifact/issues/50#issuecomment-1856471599
|
||||||
|
- uses: actions/upload-artifact@v4
|
||||||
|
id: diff-upload
|
||||||
|
with:
|
||||||
|
name: ${{ matrix.host }}-diff
|
||||||
|
path: diff.svg
|
||||||
|
|
||||||
|
- name: Output artifact URL
|
||||||
|
run: echo 'Artifact URL is ${{ steps.diff-upload.outputs.artifact-url }}'
|
||||||
|
|
12
flake.lock
12
flake.lock
|
@ -744,11 +744,11 @@
|
||||||
"nixpkgs": "nixpkgs_6"
|
"nixpkgs": "nixpkgs_6"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1725585569,
|
"lastModified": 1725578788,
|
||||||
"narHash": "sha256-mZLzdIWIe3SGKLbGkjK4CKP59BoX3RmJHi7nlQxL9pA=",
|
"narHash": "sha256-026yfXvGxjLepPGOLzk+Vr4R4kxdAlxXeozKsuCMNi4=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nixpkgs-wayland",
|
"repo": "nixpkgs-wayland",
|
||||||
"rev": "24757efbe662a14bcbfb8b12541ea5f0fb5638a8",
|
"rev": "1ac87697588396d1d5cbdcffa075ca7f1a73cdc9",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -900,11 +900,11 @@
|
||||||
"rust-overlay": "rust-overlay"
|
"rust-overlay": "rust-overlay"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1725586004,
|
"lastModified": 1725557788,
|
||||||
"narHash": "sha256-CHf/zb8d2KIrLyItsyvcDOULuO5wwh+qDDt2qoIPePQ=",
|
"narHash": "sha256-mPw63Fk1veQx18OVQijlvKbxxXF1uzI8N+0pF/tDnqE=",
|
||||||
"owner": "roc-lang",
|
"owner": "roc-lang",
|
||||||
"repo": "roc",
|
"repo": "roc",
|
||||||
"rev": "54cd967ec4db4427a33396f44675757ec3f27cc2",
|
"rev": "640bd15ca1dcf82bebe6a357e1a384b3ffdd4658",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
Loading…
Reference in a new issue