2022-08-05 20:38:23 +00:00
|
|
|
name: Build
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: ['master']
|
2023-12-02 11:54:33 +00:00
|
|
|
schedule:
|
|
|
|
- cron: '20 2 * * *'
|
2022-08-05 20:38:23 +00:00
|
|
|
|
|
|
|
jobs:
|
2023-09-16 15:43:50 +00:00
|
|
|
build-amd64-linux:
|
2023-12-05 20:20:06 +00:00
|
|
|
runs-on: nix-amd64
|
2023-09-16 15:43:50 +00:00
|
|
|
|
2022-08-05 20:42:50 +00:00
|
|
|
steps:
|
2023-12-03 12:36:06 +00:00
|
|
|
- uses: actions/checkout@v4
|
|
|
|
with:
|
|
|
|
ref: master
|
2023-12-05 20:20:06 +00:00
|
|
|
- name: Cache Login
|
|
|
|
run: |
|
|
|
|
echo "Logging in ..."
|
|
|
|
attic login --set-default attic ${{ secrets.ATTIC_ENDPOINT }} ${{ secrets.ATTIC_TOKEN }}
|
2023-12-05 22:03:00 +00:00
|
|
|
- name: Build anonymous-overflow
|
|
|
|
run: |
|
2023-12-05 20:20:06 +00:00
|
|
|
nix build '.#anonymous-overflow'
|
2024-04-25 13:51:39 +00:00
|
|
|
attic push ${{ secrets.ATTIC_CACHE }} $(nix-store -qR --include-outputs $(nix-store -qd ./result) | grep -v '\.drv$')
|
2023-12-05 22:03:00 +00:00
|
|
|
- name: Build bulk-downloader-for-reddit
|
|
|
|
run: |
|
2023-12-05 20:20:06 +00:00
|
|
|
nix build '.#bulk-downloader-for-reddit'
|
2024-04-25 13:51:39 +00:00
|
|
|
attic push ${{ secrets.ATTIC_CACHE }} $(nix-store -qR --include-outputs $(nix-store -qd ./result) | grep -v '\.drv$')
|
2024-07-26 15:41:48 +00:00
|
|
|
- name: Build controld
|
|
|
|
run: |
|
|
|
|
nix build '.#controld'
|
|
|
|
attic push ${{ secrets.ATTIC_CACHE }} $(nix-store -qR --include-outputs $(nix-store -qd ./result) | grep -v '\.drv$')
|
2024-02-04 21:45:11 +00:00
|
|
|
- name: Build discord-downloader-go
|
|
|
|
run: |
|
|
|
|
nix build '.#discord-downloader-go'
|
2024-04-25 13:51:39 +00:00
|
|
|
attic push ${{ secrets.ATTIC_CACHE }} $(nix-store -qR --include-outputs $(nix-store -qd ./result) | grep -v '\.drv$')
|
2023-12-05 22:03:00 +00:00
|
|
|
- name: Build fennel-ls
|
|
|
|
run: |
|
2023-12-05 20:20:06 +00:00
|
|
|
nix build '.#fennel-ls'
|
2024-04-25 13:51:39 +00:00
|
|
|
attic push ${{ secrets.ATTIC_CACHE }} $(nix-store -qR --include-outputs $(nix-store -qd ./result) | grep -v '\.drv$')
|
2023-12-05 22:03:00 +00:00
|
|
|
- name: Build headscale-ui
|
|
|
|
run: |
|
2023-12-05 20:20:06 +00:00
|
|
|
nix build '.#headscale-ui'
|
2024-04-25 13:51:39 +00:00
|
|
|
attic push ${{ secrets.ATTIC_CACHE }} $(nix-store -qR --include-outputs $(nix-store -qd ./result) | grep -v '\.drv$')
|
2023-12-05 22:03:00 +00:00
|
|
|
- name: Build q
|
|
|
|
run: |
|
2023-12-05 20:20:06 +00:00
|
|
|
nix build '.#q'
|
2024-04-25 13:51:39 +00:00
|
|
|
attic push ${{ secrets.ATTIC_CACHE }} $(nix-store -qR --include-outputs $(nix-store -qd ./result) | grep -v '\.drv$')
|
2024-02-04 21:45:11 +00:00
|
|
|
- name: Build tg-archive
|
|
|
|
run: |
|
|
|
|
nix build '.#tg-archive'
|
2024-04-25 13:51:39 +00:00
|
|
|
attic push ${{ secrets.ATTIC_CACHE }} $(nix-store -qR --include-outputs $(nix-store -qd ./result) | grep -v '\.drv$')
|
2023-12-05 22:03:00 +00:00
|
|
|
- name: Build vuetorrent
|
|
|
|
run: |
|
2023-12-05 20:20:06 +00:00
|
|
|
nix build '.#vuetorrent'
|
2024-04-25 13:51:39 +00:00
|
|
|
attic push ${{ secrets.ATTIC_CACHE }} $(nix-store -qR --include-outputs $(nix-store -qd ./result) | grep -v '\.drv$')
|
2024-06-29 21:11:25 +00:00
|
|
|
- name: Build weewx
|
|
|
|
run: |
|
|
|
|
nix build '.#weewx'
|
|
|
|
attic push ${{ secrets.ATTIC_CACHE }} $(nix-store -qR --include-outputs $(nix-store -qd ./result) | grep -v '\.drv$')
|
2022-08-05 20:42:50 +00:00
|
|
|
|
2023-04-23 22:12:33 +00:00
|
|
|
build-arm64-linux:
|
2023-12-05 20:20:06 +00:00
|
|
|
runs-on: nix-arm64
|
2023-09-16 15:43:50 +00:00
|
|
|
|
2023-04-23 22:12:33 +00:00
|
|
|
steps:
|
2023-12-03 12:36:06 +00:00
|
|
|
- uses: actions/checkout@v4
|
|
|
|
with:
|
|
|
|
ref: master
|
2023-12-05 20:20:06 +00:00
|
|
|
- name: Cache Login
|
|
|
|
run: |
|
|
|
|
echo "Logging in ..."
|
|
|
|
attic login --set-default attic ${{ secrets.ATTIC_ENDPOINT }} ${{ secrets.ATTIC_TOKEN }}
|
2024-07-26 15:41:48 +00:00
|
|
|
- name: Build controld
|
|
|
|
run: |
|
|
|
|
nix build '.#controld'
|
|
|
|
attic push ${{ secrets.ATTIC_CACHE }} $(nix-store -qR --include-outputs $(nix-store -qd ./result) | grep -v '\.drv$')
|
2023-12-05 22:03:00 +00:00
|
|
|
- name: Build fennel-ls
|
|
|
|
run: |
|
2023-12-05 20:20:06 +00:00
|
|
|
nix build '.#fennel-ls'
|
2024-04-25 13:51:39 +00:00
|
|
|
attic push ${{ secrets.ATTIC_CACHE }} $(nix-store -qR --include-outputs $(nix-store -qd ./result) | grep -v '\.drv$')
|
2023-12-05 22:03:00 +00:00
|
|
|
- name: Build q
|
|
|
|
run: |
|
2023-12-05 20:20:06 +00:00
|
|
|
nix build '.#q'
|
2024-04-25 13:51:39 +00:00
|
|
|
attic push ${{ secrets.ATTIC_CACHE }} $(nix-store -qR --include-outputs $(nix-store -qd ./result) | grep -v '\.drv$')
|
2023-12-05 22:03:00 +00:00
|
|
|
- name: Build weewx-proxy
|
|
|
|
run: |
|
2023-12-05 20:20:06 +00:00
|
|
|
nix build '.#weewx-proxy'
|
2024-04-25 13:51:39 +00:00
|
|
|
attic push ${{ secrets.ATTIC_CACHE }} $(nix-store -qR --include-outputs $(nix-store -qd ./result) | grep -v '\.drv$')
|