Skip to content

Commit

Permalink
.github/workflows/guix.yml: New CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
artyom-poptsov committed Dec 20, 2023
1 parent 242f95a commit e9cca74
Showing 1 changed file with 60 additions and 0 deletions.
60 changes: 60 additions & 0 deletions .github/workflows/guix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
---
# File : guix.yml

name: Guix/Guile 3.0

on:
push:
branches:
- master
- wip-github-ci-guix-workflow
pull_request:
branches:
- master

jobs:
x86_64-linux-gnu:
runs-on: "ubuntu-latest"
steps:
- name: "Guix cache"
uses: "actions/cache@v3"
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: "Ensure no locale warning"
run: |
test -z "$(guix --version 2>&1 >/dev/null)"
- name: "Checkout repository"
uses: "actions/checkout@v3"
- name: "Build project guile-udev"
run: |
guix build --file=guix.scm guile-udev
aarch64-linux-gnu:
runs-on: "ubuntu-latest"
steps:
- name: "Guix cache"
uses: "actions/cache@v3"
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: "Ensure no locale warning"
run: |
test -z "$(guix --version 2>&1 >/dev/null)"
- name: "Checkout repository"
uses: "actions/checkout@v3"
- name: "Build project guile-udev"
run: |
guix build --target=aarch64-linux-gnu --file=guix.scm guile-udev
# End of guix.yml
...

0 comments on commit e9cca74

Please sign in to comment.