Merge pull request #4 from aciceri/hydra

Hydra
This commit is contained in:
Andrea Ciceri 2023-04-08 12:18:01 +02:00 committed by GitHub
commit facb417179
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 27 deletions

View file

@ -1,27 +0,0 @@
name: build
on:
workflow_dispatch: # allows manual triggering
push:
branches:
- master
- update_flake_lock_action
jobs:
build:
if: ${{ always() }}
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- uses: cachix/install-nix-action@v20
with:
extra_nix_config: |
accept-flake-config = true
- uses: cachix/cachix-action@v12
with:
name: aciceri-emacs
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix --print-build-logs --verbose build

View file

@ -23,6 +23,7 @@
./hmModules
./formatter
./diff-closures
./hydra
];
};

5
hydra/default.nix Normal file
View file

@ -0,0 +1,5 @@
{self, ...}: {
flake.hydraJobs = {
packages = self.packages;
};
}