-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
.github/workflows/guix.yml: New CI workflow
- Loading branch information
1 parent
242f95a
commit e9cca74
Showing
1 changed file
with
60 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
... |