Skip to content

Commit

Permalink
build: Test repro builds in master.
Browse files Browse the repository at this point in the history
  • Loading branch information
s373nZ committed Sep 3, 2024
1 parent 5ec5580 commit 354a1c7
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/repro.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 354a1c7

Please sign in to comment.