mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-24 07:50: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
|
||||
run: >
|
||||
nix run .
|
||||
--
|
||||
build
|
||||
$(nix run . -- output --host "${{ matrix.host }}" --flake .)
|
||||
--flake .
|
||||
--debug
|
||||
--
|
||||
--keep-going
|
||||
--print-build-logs
|
||||
run: |
|
||||
system_attr=$(nix run . -- output --host "${{ matrix.host }}" --flake .)
|
||||
nix run . \
|
||||
-- \
|
||||
build $system_attr \
|
||||
--flake . \
|
||||
--debug \
|
||||
-- \
|
||||
--print-build-logs \
|
||||
--out-link current
|
||||
|
||||
|
||||
- run: git checkout flake-lock
|
||||
|
||||
- name: Pre-build oizys
|
||||
run: nix build .
|
||||
|
||||
- name: Build Updated
|
||||
run: >
|
||||
nix run .
|
||||
--
|
||||
build
|
||||
$(nix run . -- output --host "${{ matrix.host }}" --flake .)
|
||||
--flake .
|
||||
--debug
|
||||
--
|
||||
--keep-going
|
||||
--print-build-logs
|
||||
run: |
|
||||
system_attr=$(nix run . -- output --host "${{ matrix.host }}" --flake .)
|
||||
nix run . \
|
||||
-- \
|
||||
build $system_attr \
|
||||
--flake . \
|
||||
--debug \
|
||||
-- \
|
||||
--keep-going \
|
||||
--print-build-logs \
|
||||
--out-link updated
|
||||
|
||||
- run: |
|
||||
echo "# System Diff" >> $GITHUB_STEP_SUMMARY
|
||||
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
|
||||
nix run "nixpkgs#nvd" -- --color always diff ./current ./updated | nix run "nixpkgs#charm-freeze" -- --output diff.svg
|
||||
|
||||
- run: df -h
|
||||
|
||||
|
@ -137,3 +136,13 @@ jobs:
|
|||
with:
|
||||
name: ${{ matrix.host }}-summary
|
||||
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"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1725585569,
|
||||
"narHash": "sha256-mZLzdIWIe3SGKLbGkjK4CKP59BoX3RmJHi7nlQxL9pA=",
|
||||
"lastModified": 1725578788,
|
||||
"narHash": "sha256-026yfXvGxjLepPGOLzk+Vr4R4kxdAlxXeozKsuCMNi4=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nixpkgs-wayland",
|
||||
"rev": "24757efbe662a14bcbfb8b12541ea5f0fb5638a8",
|
||||
"rev": "1ac87697588396d1d5cbdcffa075ca7f1a73cdc9",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -900,11 +900,11 @@
|
|||
"rust-overlay": "rust-overlay"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1725586004,
|
||||
"narHash": "sha256-CHf/zb8d2KIrLyItsyvcDOULuO5wwh+qDDt2qoIPePQ=",
|
||||
"lastModified": 1725557788,
|
||||
"narHash": "sha256-mPw63Fk1veQx18OVQijlvKbxxXF1uzI8N+0pF/tDnqE=",
|
||||
"owner": "roc-lang",
|
||||
"repo": "roc",
|
||||
"rev": "54cd967ec4db4427a33396f44675757ec3f27cc2",
|
||||
"rev": "640bd15ca1dcf82bebe6a357e1a384b3ffdd4658",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
Loading…
Reference in a new issue