File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ name : build
2+ on : [ push ]
3+ jobs :
4+ build :
5+ name : Run the pipeline
6+ runs-on : ubuntu-22.04
7+ steps :
8+ - name : Guix cache
9+ uses : actions/cache@v2
10+ with :
11+ path : ~/.cache/guix
12+ # use a key that (almost) never matches
13+ key : guix-cache-${{ github.sha }}
14+ restore-keys : |
15+ guix-cache-
16+ - name : Install Guix
17+ uses : PromyLOPh/guix-install-action@v1
18+ - name : Checkout
19+ uses : actions/checkout@v2
20+ - name : Instantiate specific Guix revision
21+ run : guix time-machine -C sources/channels.scm -- describe
22+ - name : Check
23+ run : guix time-machine -C sources/channels.scm -- describe
24+ - name : Build environment
25+ working-directory : sources
26+ run : guix time-machine -C channels.scm -- shell -C -m manifest.scm -- python3 --version
27+ - name : Rebuild environment for checking
28+ working-directory : sources
29+ run : guix time-machine -C channels.scm -- shell -C -m manifest.scm -- python3 --version
You can’t perform that action at this time.
0 commit comments