From 354a1c7b22fbe9b34ceac9bad9cf43990b4b2655 Mon Sep 17 00:00:00 2001 From: Se7enZ Date: Tue, 3 Sep 2024 13:44:41 +0200 Subject: [PATCH] build: Test repro builds in master. --- .github/workflows/repro.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/repro.yml diff --git a/.github/workflows/repro.yml b/.github/workflows/repro.yml new file mode 100644 index 000000000000..66004cdaeae1 --- /dev/null +++ b/.github/workflows/repro.yml @@ -0,0 +1,24 @@ +--- +name: Repro Build Nightly +on: + schedule: + - cron: "0 3 * * *" +jobs: + ubuntu-noble: + name: Ubuntu Noble Repro build + runs-on: ubuntu:noble + 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 $v /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