forked from ElementsProject/lightning
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (27 loc) · 925 Bytes
/
repro.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
---
# https://docs.corelightning.org/docs/repro
name: Repro Build Nightly
on:
# TODO: reinstate after testing
# schedule:
# - cron: "0 3 * * *"
# TODO: remove after testing
push:
branches:
- 7117-repro-nightly-builds
jobs:
ubuntu-noble:
name: Ubuntu Noble Repro build
runs-on: ubuntu-22.04
steps:
- name: Git checkout
uses: actions/checkout@v2
- name: Build environment setup
run: |
echo "Building base image for noble"
docker run --rm -v $(pwd):/build ubuntu:noble bash -c "apt-get update && apt-get install -y debootstrap && debootstrap noble /build/noble"
tar -C noble -c . | docker import - noble
- name: Builder image setup
run: docker build -t cl-repro-noble - < contrib/reprobuild/Dockerfile.noble
- name: Build using the builder images
run: docker run --rm -v $(pwd):/repo -ti cl-repro-noble