Skip to content

Commit

Permalink
Add GitHub action to build the environment with Guix.
Browse files Browse the repository at this point in the history
  • Loading branch information
civodul committed Jun 27, 2023
1 parent 2f5ef77 commit 9df5224
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: build
on: [ push ]
jobs:
build:
name: Build environment
runs-on: ubuntu-22.04
steps:
- name: Guix cache
uses: actions/cache@v2
with:
path: ~/.cache/guix
# use a key that (almost) never matches
key: guix-cache-${{ github.sha }}
restore-keys: |
guix-cache-
- name: Install Guix
uses: PromyLOPh/guix-install-action@v1
- name: Build environment
run: guix time-machine -C channels.scm -- shell -m manifest.scm -- describe

0 comments on commit 9df5224

Please sign in to comment.