36 lines
1.3 KiB
YAML
36 lines
1.3 KiB
YAML
name: build and cache random stuff
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
matrix:
|
|
package:
|
|
- github:cything/nixpkgs/a9c7c4c52da181e7c66156c61b65c39f567efb41#gollum
|
|
- github:cything/nixpkgs/a9c7c4c52da181e7c66156c61b65c39f567efb41#gollum.tests.gollum
|
|
- github:cything/nixpkgs/e1e065c4bd58bef677474a828c4673c643f99545#schismtracker
|
|
- github:cything/nixpkgs/d23ce3cde5a3d6ad84b4726f12391c39c04a0601#museum
|
|
- github:cything/nixpkgs/b4f2fc5c507a60d92503a2def27cfebdfb1942d5#ente-auth
|
|
os:
|
|
- ubuntu-latest
|
|
- macos-latest
|
|
runs-on: ${{ matrix.os }}
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: DeterminateSystems/nix-installer-action@main
|
|
with:
|
|
logger: pretty
|
|
- uses: DeterminateSystems/magic-nix-cache-action@main
|
|
- uses: cachix/cachix-action@v15
|
|
with:
|
|
name: cything
|
|
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
|
|
- name: Setup Attic cache
|
|
uses: ryanccn/attic-action@v0
|
|
with:
|
|
endpoint: ${{ vars.ATTIC_ENDPOINT }}
|
|
cache: ${{ vars.ATTIC_CACHE }}
|
|
token: ${{ secrets.ATTIC_TOKEN }}
|
|
- uses: actions/checkout@v4
|
|
- run: nix build '${{ matrix.package }}'
|