Skip to content

Commit

Permalink
feat: add nix build ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksanaa committed Oct 22, 2023
1 parent cab270d commit fd0d5ae
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
on:
push:
pull_request:
branches: [ "main" ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: nix build -L .#default
- uses: actions/upload-artifact@v3
with:
name: static-build
path: result/bin

0 comments on commit fd0d5ae

Please sign in to comment.