1
0
Fork 0
nix-overlay/.forgejo/workflows/build.yml
Daniel Kempkens 159e2edaa7
All checks were successful
Build / build-amd64-linux (push) Successful in 1m43s
Build / build-arm64-linux (push) Successful in 3m12s
ci: use faster nix build
2023-12-05 21:20:16 +01:00

77 lines
2.1 KiB
YAML

name: Build
on:
push:
branches: ['master']
schedule:
- cron: '20 2 * * *'
jobs:
build-amd64-linux:
runs-on: nix-amd64
steps:
- uses: actions/checkout@v4
with:
ref: master
- name: Cache Login
run: |
echo "Logging in ..."
attic login --set-default attic ${{ secrets.ATTIC_ENDPOINT }} ${{ secrets.ATTIC_TOKEN }}
- run: |
nix build '.#anonymous-overflow'
attic push ${{ secrets.ATTIC_CACHE }} ./result
- run: |
nix build '.#bulk-downloader-for-reddit'
attic push ${{ secrets.ATTIC_CACHE }} ./result
- run: |
nix build '.#fennel-ls'
attic push ${{ secrets.ATTIC_CACHE }} ./result
- run: |
nix build '.#headscale-ui'
attic push ${{ secrets.ATTIC_CACHE }} ./result
- run: |
nix build '.#lexical'
attic push ${{ secrets.ATTIC_CACHE }} ./result
- run: |
nix build '.#neovim-nightly'
attic push ${{ secrets.ATTIC_CACHE }} ./result
- run: |
nix build '.#q'
attic push ${{ secrets.ATTIC_CACHE }} ./result
- run: |
nix build '.#rimgo'
attic push ${{ secrets.ATTIC_CACHE }} ./result
- run: |
nix build '.#rexit'
attic push ${{ secrets.ATTIC_CACHE }} ./result
- run: |
nix build '.#vuetorrent'
attic push ${{ secrets.ATTIC_CACHE }} ./result
build-arm64-linux:
runs-on: nix-arm64
steps:
- uses: actions/checkout@v4
with:
ref: master
- name: Cache Login
run: |
echo "Logging in ..."
attic login --set-default attic ${{ secrets.ATTIC_ENDPOINT }} ${{ secrets.ATTIC_TOKEN }}
- run: |
nix build '.#fennel-ls'
attic push ${{ secrets.ATTIC_CACHE }} ./result
- run: |
nix build '.#lexical'
attic push ${{ secrets.ATTIC_CACHE }} ./result
- run: |
nix build '.#neovim-nightly'
attic push ${{ secrets.ATTIC_CACHE }} ./result
- run: |
nix build '.#q'
attic push ${{ secrets.ATTIC_CACHE }} ./result
- run: |
nix build '.#weewx-proxy'
attic push ${{ secrets.ATTIC_CACHE }} ./result