-
-
Notifications
You must be signed in to change notification settings - Fork 3
45 lines (44 loc) · 1.61 KB
/
nightly_ecl.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: "Nightly ECL"
on:
workflow_dispatch:
inputs:
url:
description: "git clone URL"
default: "https://gitlab.com/embeddable-common-lisp/ecl.git"
ref:
description: "git reference (refs/heads/mybranch, refs/tags/mytag)"
default: "HEAD"
# See SBCL workflow note about fetching a revision
schedule:
# Run all tests on latest nightly lisp release
- cron: '12 5 * * *'
jobs:
ecl:
timeout-minutes: 100
# Let’s not waste github’s macos minutes on this
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./examples/channels/all-packages
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v11
with:
extra-conf: |
substituters = https://cl-nix-lite.cachix.org https://cache.nixos.org/
trusted-public-keys = cl-nix-lite.cachix.org-1:ab6+b0u2vxymMLcZ5DDqPKnxz0WObbMszmC+BDBHpFc= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: "Build nightly ECL"
run: |
cat > lisp.nix <<"EOF"
import ./nightly-ecl.nix {
${{ inputs.url && format('url = {0};', toJSON(inputs.url)) }}
${{ inputs.ref && format('ref = {0};', toJSON(inputs.ref)) }}
}
EOF
nix-build --no-out-link lisp.nix
- name: "Build all packages against nightly ECL"
run: |
nix build --print-build-logs --no-link --keep-going --impure --expr '
import ./. { lisp = import ./lisp.nix; }
'