1
0
Fork 0

chore: cache build and runtime dependencies
All checks were successful
Build / build-amd64-linux (push) Successful in 43s
Build / build-arm64-linux (push) Successful in 1m15s

This commit is contained in:
Daniel Kempkens 2024-04-25 15:54:11 +02:00
parent b665ba30d0
commit 1e1e4d1cc9
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM

View file

@ -22,19 +22,19 @@ jobs:
- name: Build attic-server
run: |
nix build '.#nixosConfigurations.tanker.pkgs.attic-server'
attic push ${{ secrets.ATTIC_CACHE }} ./result
attic push ${{ secrets.ATTIC_CACHE }} $(nix-store -qR --include-outputs $(nix-store -qd ./result) | grep -v '\.drv$')
- name: Build attic-client
run: |
nix build '.#nixosConfigurations.tanker.pkgs.attic-client'
attic push ${{ secrets.ATTIC_CACHE }} ./result
attic push ${{ secrets.ATTIC_CACHE }} $(nix-store -qR --include-outputs $(nix-store -qd ./result) | grep -v '\.drv$')
- name: Build nginx
run: |
nix build '.#nixosConfigurations.tanker.config.services.nginx.package'
attic push ${{ secrets.ATTIC_CACHE }} ./result
attic push ${{ secrets.ATTIC_CACHE }} $(nix-store -qR --include-outputs $(nix-store -qd ./result) | grep -v '\.drv$')
- name: Build neovim
run: |
nix build '.#nixosConfigurations.tanker.config.home-manager.users.daniel.programs.neovim.finalPackage'
attic push ${{ secrets.ATTIC_CACHE }} ./result
attic push ${{ secrets.ATTIC_CACHE }} $(nix-store -qR --include-outputs $(nix-store -qd ./result) | grep -v '\.drv$')
build-arm64-linux:
runs-on: nix-arm64
steps:
@ -48,12 +48,12 @@ jobs:
- name: Build attic-client
run: |
nix build '.#nixosConfigurations.argon.pkgs.attic-client'
attic push ${{ secrets.ATTIC_CACHE }} ./result
attic push ${{ secrets.ATTIC_CACHE }} $(nix-store -qR --include-outputs $(nix-store -qd ./result) | grep -v '\.drv$')
- name: Build nginx
run: |
nix build '.#nixosConfigurations.argon.config.services.nginx.package'
attic push ${{ secrets.ATTIC_CACHE }} ./result
attic push ${{ secrets.ATTIC_CACHE }} $(nix-store -qR --include-outputs $(nix-store -qd ./result) | grep -v '\.drv$')
- name: Build neovim
run: |
nix build '.#nixosConfigurations.argon.config.home-manager.users.daniel.programs.neovim.finalPackage'
attic push ${{ secrets.ATTIC_CACHE }} ./result
attic push ${{ secrets.ATTIC_CACHE }} $(nix-store -qR --include-outputs $(nix-store -qd ./result) | grep -v '\.drv$')