Skip to content

Commit

Permalink
Set up GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremystucki committed Mar 28, 2024
1 parent 69daffe commit 7bfcfaa
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
on:
push:
branches: [ "main", "github-actions" ]

jobs:
build:
strategy:
matrix:
configuration:
- "nixosConfigurations.volt-nixos.config.system.build.toplevel"
- "nixosConfigurations.zpehyr-nixos.config.system.build.toplevel"
- "homeConfigurations.volt.activationPackage"
- "homeConfigurations.zephyr.activationPackage"

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: DeterminateSystems/nix-installer-action@v4
- uses: DeterminateSystems/magic-nix-cache-action@v1
- run: nix build '.#${{ matrix.configuration }}'

0 comments on commit 7bfcfaa

Please sign in to comment.